PolicyDelegationSettings.fromJson constructor

PolicyDelegationSettings.fromJson(
  1. Map json_
)

Implementation

PolicyDelegationSettings.fromJson(core.Map json_)
    : this(
        iamPermission: json_.containsKey('iamPermission')
            ? json_['iamPermission'] as core.String
            : null,
        iamServiceName: json_.containsKey('iamServiceName')
            ? json_['iamServiceName'] as core.String
            : null,
        policyName: json_.containsKey('policyName')
            ? PolicyName.fromJson(
                json_['policyName'] as core.Map<core.String, core.dynamic>)
            : null,
        resource: json_.containsKey('resource')
            ? Resource.fromJson(
                json_['resource'] as core.Map<core.String, core.dynamic>)
            : null,
      );