GoogleCloudOrgpolicyV2ListPoliciesResponse.fromJson constructor

GoogleCloudOrgpolicyV2ListPoliciesResponse.fromJson(
  1. Map json_
)

Implementation

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