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_['matches'] as core.List?)
?.map(
(value) => GoogleCloudDialogflowCxV3Match.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
text: json_['text'] as core.String?,
transcript: json_['transcript'] as core.String?,
triggerEvent: json_['triggerEvent'] as core.String?,
triggerIntent: json_['triggerIntent'] as core.String?,
);