ClassifyTextRequest.fromJson constructor
ClassifyTextRequest.fromJson(
- Map json_
Implementation
ClassifyTextRequest.fromJson(core.Map json_)
: this(
classificationModelOptions:
json_.containsKey('classificationModelOptions')
? ClassificationModelOptions.fromJson(
json_['classificationModelOptions']
as core.Map<core.String, core.dynamic>)
: null,
document: json_.containsKey('document')
? Document.fromJson(
json_['document'] as core.Map<core.String, core.dynamic>)
: null,
);