GoogleCloudAiplatformV1DataItemView.fromJson constructor

GoogleCloudAiplatformV1DataItemView.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1DataItemView.fromJson(core.Map json_)
    : this(
        annotations: json_.containsKey('annotations')
            ? (json_['annotations'] as core.List)
                .map((value) => GoogleCloudAiplatformV1Annotation.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        dataItem: json_.containsKey('dataItem')
            ? GoogleCloudAiplatformV1DataItem.fromJson(
                json_['dataItem'] as core.Map<core.String, core.dynamic>)
            : null,
        hasTruncatedAnnotations: json_.containsKey('hasTruncatedAnnotations')
            ? json_['hasTruncatedAnnotations'] as core.bool
            : null,
      );