GoogleCloudDataplexV1Schema.fromJson constructor

GoogleCloudDataplexV1Schema.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDataplexV1Schema.fromJson(core.Map json_)
    : this(
        fields: json_.containsKey('fields')
            ? (json_['fields'] as core.List)
                .map((value) =>
                    GoogleCloudDataplexV1SchemaSchemaField.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        partitionFields: json_.containsKey('partitionFields')
            ? (json_['partitionFields'] as core.List)
                .map((value) =>
                    GoogleCloudDataplexV1SchemaPartitionField.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        partitionStyle: json_.containsKey('partitionStyle')
            ? json_['partitionStyle'] as core.String
            : null,
        userManaged: json_.containsKey('userManaged')
            ? json_['userManaged'] as core.bool
            : null,
      );