ListAccountsResponse.fromJson constructor

ListAccountsResponse.fromJson(
  1. Map json_
)

Implementation

ListAccountsResponse.fromJson(core.Map json_)
    : this(
        accounts: json_.containsKey('accounts')
            ? (json_['accounts'] as core.List)
                .map((value) => Account.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );