GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations.fromJson constructor

GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations.fromJson(
    core.Map json_)
    : this(
        deprecated: json_.containsKey('deprecated')
            ? json_['deprecated'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        displayOrder: json_.containsKey('displayOrder')
            ? json_['displayOrder'] as core.int
            : null,
        stringType: json_.containsKey('stringType')
            ? json_['stringType'] as core.String
            : null,
        stringValues: json_.containsKey('stringValues')
            ? (json_['stringValues'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );