Account.fromJson constructor

Account.fromJson(
  1. Map<String, dynamic> json
)

Alternate constructor that creates an Account from a json.

Params:

  • json: contains the source for instance creation.

Implementation

factory Account.fromJson(Map<String, dynamic> json) {
  return AccountImpl.fromJson(json);
}