GoogleCloudDatacatalogV1beta1SerializedTaxonomy.fromJson constructor

GoogleCloudDatacatalogV1beta1SerializedTaxonomy.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatacatalogV1beta1SerializedTaxonomy.fromJson(core.Map _json)
    : this(
        activatedPolicyTypes: _json.containsKey('activatedPolicyTypes')
            ? (_json['activatedPolicyTypes'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        description: _json.containsKey('description')
            ? _json['description'] as core.String
            : null,
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        policyTags: _json.containsKey('policyTags')
            ? (_json['policyTags'] as core.List)
                .map<GoogleCloudDatacatalogV1beta1SerializedPolicyTag>(
                    (value) =>
                        GoogleCloudDatacatalogV1beta1SerializedPolicyTag
                            .fromJson(
                                value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );