AccountsList.fromJson constructor

AccountsList.fromJson(
  1. Map _json
)

Implementation

AccountsList.fromJson(core.Map _json) {
  if (_json.containsKey("items")) {
    items = (_json["items"] as core.List)
        .map<Account>((value) => new Account.fromJson(value))
        .toList();
  }
  if (_json.containsKey("kind")) {
    kind = _json["kind"];
  }
}