GoogleCloudDialogflowCxV3SafetySettings.fromJson constructor
GoogleCloudDialogflowCxV3SafetySettings.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowCxV3SafetySettings.fromJson(core.Map json_)
: this(
bannedPhrases: json_.containsKey('bannedPhrases')
? (json_['bannedPhrases'] as core.List)
.map((value) =>
GoogleCloudDialogflowCxV3SafetySettingsPhrase.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);