ListPublisherAccountsResponse.fromJson constructor

ListPublisherAccountsResponse.fromJson(
  1. Map json_
)

Implementation

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