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(),
);