ListConsentArtifactsResponse.fromJson constructor

ListConsentArtifactsResponse.fromJson(
  1. Map json_
)

Implementation

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