ListConsentRevisionsResponse.fromJson constructor

ListConsentRevisionsResponse.fromJson(
  1. Map json_
)

Implementation

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