GoogleCloudDialogflowCxV3MatchIntentResponse.fromJson constructor
GoogleCloudDialogflowCxV3MatchIntentResponse.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowCxV3MatchIntentResponse.fromJson(core.Map json_)
: this(
currentPage: json_.containsKey('currentPage')
? GoogleCloudDialogflowCxV3Page.fromJson(
json_['currentPage'] as core.Map<core.String, core.dynamic>)
: null,
matches: json_.containsKey('matches')
? (json_['matches'] as core.List)
.map((value) => GoogleCloudDialogflowCxV3Match.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
text: json_.containsKey('text') ? json_['text'] as core.String : null,
transcript: json_.containsKey('transcript')
? json_['transcript'] as core.String
: null,
triggerEvent: json_.containsKey('triggerEvent')
? json_['triggerEvent'] as core.String
: null,
triggerIntent: json_.containsKey('triggerIntent')
? json_['triggerIntent'] as core.String
: null,
);