SimulatedResource.fromJson constructor

SimulatedResource.fromJson(
  1. Map json_
)

Implementation

SimulatedResource.fromJson(core.Map json_)
    : this(
        iamPolicyData: json_.containsKey('iamPolicyData')
            ? Policy.fromJson(
                json_['iamPolicyData'] as core.Map<core.String, core.dynamic>)
            : null,
        resourceData: json_.containsKey('resourceData')
            ? json_['resourceData'] as core.Map<core.String, core.dynamic>
            : null,
        resourceType: json_.containsKey('resourceType')
            ? json_['resourceType'] as core.String
            : null,
      );