GoogleCloudDialogflowV2IntentTrainingPhrase.fromJson constructor
GoogleCloudDialogflowV2IntentTrainingPhrase.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowV2IntentTrainingPhrase.fromJson(core.Map json_)
: this(
name: json_.containsKey('name') ? json_['name'] as core.String : null,
parts: json_.containsKey('parts')
? (json_['parts'] as core.List)
.map((value) =>
GoogleCloudDialogflowV2IntentTrainingPhrasePart.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
timesAddedCount: json_.containsKey('timesAddedCount')
? json_['timesAddedCount'] as core.int
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);