GoogleCloudDatacatalogV1SerializedTaxonomy.fromJson constructor

GoogleCloudDatacatalogV1SerializedTaxonomy.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatacatalogV1SerializedTaxonomy.fromJson(core.Map json_)
    : this(
        activatedPolicyTypes: json_.containsKey('activatedPolicyTypes')
            ? (json_['activatedPolicyTypes'] as core.List)
                .map((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((value) =>
                    GoogleCloudDatacatalogV1SerializedPolicyTag.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );