GoogleCloudAiplatformV1DataItemView.fromJson constructor

GoogleCloudAiplatformV1DataItemView.fromJson(
  1. Map json_
)

Implementation

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