GoogleCloudHealthcareV1ConsentPolicy.fromJson constructor

GoogleCloudHealthcareV1ConsentPolicy.fromJson(
  1. Map json_
)

Implementation

GoogleCloudHealthcareV1ConsentPolicy.fromJson(core.Map json_)
    : this(
        authorizationRule: json_.containsKey('authorizationRule')
            ? Expr.fromJson(json_['authorizationRule']
                as core.Map<core.String, core.dynamic>)
            : null,
        resourceAttributes: json_.containsKey('resourceAttributes')
            ? (json_['resourceAttributes'] as core.List)
                .map((value) => Attribute.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );