ListConsentStoresResponse.fromJson constructor

ListConsentStoresResponse.fromJson(
  1. Map json_
)

Implementation

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