ClassifyTextResponse.fromJson constructor
ClassifyTextResponse.fromJson(
- Map json_
Implementation
ClassifyTextResponse.fromJson(core.Map json_)
: this(
categories: (json_['categories'] as core.List?)
?.map((value) => ClassificationCategory.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
languageCode: json_['languageCode'] as core.String?,
languageSupported: json_['languageSupported'] as core.bool?,
);