GoogleCloudDatalabelingV1beta1AnnotatedDataset.fromJson constructor

GoogleCloudDatalabelingV1beta1AnnotatedDataset.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatalabelingV1beta1AnnotatedDataset.fromJson(core.Map json_)
    : this(
        annotationSource: json_.containsKey('annotationSource')
            ? json_['annotationSource'] as core.String
            : null,
        annotationType: json_.containsKey('annotationType')
            ? json_['annotationType'] as core.String
            : null,
        blockingResources: json_.containsKey('blockingResources')
            ? (json_['blockingResources'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        completedExampleCount: json_.containsKey('completedExampleCount')
            ? json_['completedExampleCount'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        exampleCount: json_.containsKey('exampleCount')
            ? json_['exampleCount'] as core.String
            : null,
        labelStats: json_.containsKey('labelStats')
            ? GoogleCloudDatalabelingV1beta1LabelStats.fromJson(
                json_['labelStats'] as core.Map<core.String, core.dynamic>)
            : null,
        metadata: json_.containsKey('metadata')
            ? GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata.fromJson(
                json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );