GoogleCloudDatalabelingV1beta1HumanAnnotationConfig.fromJson constructor
GoogleCloudDatalabelingV1beta1HumanAnnotationConfig.fromJson(
- Map json_
Implementation
GoogleCloudDatalabelingV1beta1HumanAnnotationConfig.fromJson(core.Map json_)
: this(
annotatedDatasetDescription:
json_.containsKey('annotatedDatasetDescription')
? json_['annotatedDatasetDescription'] as core.String
: null,
annotatedDatasetDisplayName:
json_.containsKey('annotatedDatasetDisplayName')
? json_['annotatedDatasetDisplayName'] as core.String
: null,
contributorEmails: json_.containsKey('contributorEmails')
? (json_['contributorEmails'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
instruction: json_.containsKey('instruction')
? json_['instruction'] as core.String
: null,
labelGroup: json_.containsKey('labelGroup')
? json_['labelGroup'] as core.String
: null,
languageCode: json_.containsKey('languageCode')
? json_['languageCode'] as core.String
: null,
questionDuration: json_.containsKey('questionDuration')
? json_['questionDuration'] as core.String
: null,
replicaCount: json_.containsKey('replicaCount')
? json_['replicaCount'] as core.int
: null,
userEmailAddress: json_.containsKey('userEmailAddress')
? json_['userEmailAddress'] as core.String
: null,
);