ListBuyersResponse.fromJson constructor

ListBuyersResponse.fromJson(
  1. Map json_
)

Implementation

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