GoogleCloudDatalabelingV1beta1TextClassificationConfig.fromJson constructor
GoogleCloudDatalabelingV1beta1TextClassificationConfig.fromJson(
- Map json_
Implementation
GoogleCloudDatalabelingV1beta1TextClassificationConfig.fromJson(
core.Map json_)
: this(
allowMultiLabel: json_.containsKey('allowMultiLabel')
? json_['allowMultiLabel'] as core.bool
: null,
annotationSpecSet: json_.containsKey('annotationSpecSet')
? json_['annotationSpecSet'] as core.String
: null,
sentimentConfig: json_.containsKey('sentimentConfig')
? GoogleCloudDatalabelingV1beta1SentimentConfig.fromJson(
json_['sentimentConfig']
as core.Map<core.String, core.dynamic>)
: null,
);