GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse.fromJson constructor

GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse.fromJson(
    core.Map json_)
    : this(
        access: json_['access'] as core.String?,
        errors: (json_['errors'] as core.List?)
            ?.map((value) => GoogleRpcStatus.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        explainedPolicies: (json_['explainedPolicies'] as core.List?)
            ?.map((value) =>
                GoogleCloudPolicytroubleshooterV1ExplainedPolicy.fromJson(
                    value as core.Map<core.String, core.dynamic>))
            .toList(),
      );