GoogleCloudDatalabelingV1beta1LabelTextRequest.fromJson constructor
GoogleCloudDatalabelingV1beta1LabelTextRequest.fromJson(
- Map json_
Implementation
GoogleCloudDatalabelingV1beta1LabelTextRequest.fromJson(core.Map json_)
: this(
basicConfig: json_.containsKey('basicConfig')
? GoogleCloudDatalabelingV1beta1HumanAnnotationConfig.fromJson(
json_['basicConfig'] as core.Map<core.String, core.dynamic>)
: null,
feature: json_.containsKey('feature')
? json_['feature'] as core.String
: null,
textClassificationConfig: json_
.containsKey('textClassificationConfig')
? GoogleCloudDatalabelingV1beta1TextClassificationConfig.fromJson(
json_['textClassificationConfig']
as core.Map<core.String, core.dynamic>)
: null,
textEntityExtractionConfig:
json_.containsKey('textEntityExtractionConfig')
? GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig
.fromJson(json_['textEntityExtractionConfig']
as core.Map<core.String, core.dynamic>)
: null,
);