GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponse.fromJson constructor

GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponse.fromJson(
  1. Map json_
)

Implementation

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