GoogleCloudDataplexV1SchemaSchemaField.fromJson constructor

GoogleCloudDataplexV1SchemaSchemaField.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDataplexV1SchemaSchemaField.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        fields: json_.containsKey('fields')
            ? (json_['fields'] as core.List)
                .map((value) =>
                    GoogleCloudDataplexV1SchemaSchemaField.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );