GoogleCloudDialogflowCxV3EntityType.fromJson constructor
GoogleCloudDialogflowCxV3EntityType.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowCxV3EntityType.fromJson(core.Map json_)
: this(
autoExpansionMode: json_.containsKey('autoExpansionMode')
? json_['autoExpansionMode'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
enableFuzzyExtraction: json_.containsKey('enableFuzzyExtraction')
? json_['enableFuzzyExtraction'] as core.bool
: null,
entities: json_.containsKey('entities')
? (json_['entities'] as core.List)
.map((value) =>
GoogleCloudDialogflowCxV3EntityTypeEntity.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
excludedPhrases: json_.containsKey('excludedPhrases')
? (json_['excludedPhrases'] as core.List)
.map((value) =>
GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
redact:
json_.containsKey('redact') ? json_['redact'] as core.bool : null,
);