GoogleCloudDialogflowCxV3EventHandler class
An event handler specifies an event that can be handled during a session.
When the specified event happens, the following actions are taken in order:
- If there is a
trigger_fulfillment
associated with the event, it will be called. * If there is atarget_page
associated with the event, the session will transition into the specified page. * If there is atarget_flow
associated with the event, the session will transition into the specified flow.
Constructors
- GoogleCloudDialogflowCxV3EventHandler({String? event, String? name, String? targetFlow, String? targetPage, GoogleCloudDialogflowCxV3Fulfillment? triggerFulfillment})
- GoogleCloudDialogflowCxV3EventHandler.fromJson(Map json_)
Properties
- event ↔ String?
-
The name of the event to handle.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The unique identifier of this event handler.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetFlow ↔ String?
-
The target flow to transition to.
getter/setter pair
- targetPage ↔ String?
-
The target page to transition to.
getter/setter pair
- triggerFulfillment ↔ GoogleCloudDialogflowCxV3Fulfillment?
-
The fulfillment to call when the event occurs.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited