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