AccountsListLinksResponse.fromJson constructor

AccountsListLinksResponse.fromJson(
  1. Map json_
)

Implementation

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