Account.fromJson constructor

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

Creates a new Account instance from the provided json data.

The json parameter must be a valid JSON object containing keys for 'id', 'address', and 'collectibles'.

Implementation

factory Account.fromJson(Map<String, dynamic> json) =>
    _$AccountFromJson(json);