flutter_dialogflow_v2 library

Classes

AudioEncoding
Audio encoding of the audio content sent in the conversational query request. Refer to the Cloud Speech API documentation for more details.
AuthGoogle
BasicCard
The basic card message. Useful for displaying information.
BasicCardButton
The button object that appears at the bottom of a card.
Card
The card response message.
CardButton
Contains information about a button.
CaruselSelect
The card for presenting a carousel of options to select from.
Context
Represents a context.
DetectIntentRequest
DetectIntentResponse
If successful, the response body contains data with this structure.
Dialogflow
Entity
An entity entry for an associated entity type.
EntityOverrideMode
EventInput
Events allow for matching intents by event name instead of the natural language input. For instance, input <event: { name: "welcome_event", parameters: { name: "Sam" } }> can trigger a personalized welcome response. The parameter name may be used by the agent in the response: "Hello #welcome_event.name! What can I do for you today?".
FollowupIntentInfo
Represents a single followup intent in the chain.
Image
The image response message.
InputAudioConfig
Instructs the speech recognizer how to process the audio content.
Intent
Represents an intent. Intents convert a number of user expressions or patterns into an action. An action is an extraction of a user command or sentence semantics.
Item
An item in the list or carusel
Language
LatLng
An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.
LinkOutSuggestion
The suggestion chip message that allows the user to jump out to the app or website associated with this agent.
ListSelect
The card for presenting a list of options to select from.
Message
Corresponds to the Response field in the Dialogflow console.
OpenUriAction
Opens the given URI.
Parameter
Represents intent parameters.
Part
Represents a part of a training phrase.
Payload
A custom, platform-specific payload.
Platform
Represents different platforms that a rich message can be intended for.
QueryInput
Represents the query input. It can contain either: [...]
QueryParameters
Represents the parameters of the conversational query.
QueryResult
Represents the result of conversational query or event processing.
QuickReplies
The quick replies response message.
SelectItemInfo
Additional info about the select item for when it is triggered in a dialog.
SessionEntityType
Represents a session entity type.
SimpleResponse
The simple response message containing speech or text.
SimpleResponses
The collection of simple response candidates. This message in QueryResult.fulfillment_messages and WebhookResponse.fulfillment_messages should contain only one SimpleResponse.
Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. The error model is designed to be: [...]
Suggestion
The suggestion chip message that the user can tap to quickly post a reply to the conversation.
Suggestions
The collection of suggestions.
Text
The text response message.
TextInput
Represents the natural language text to be processed.
TrainingPhrase
Represents an example that the agent is trained on.
WebhookState
Represents the different states that webhooks can be in.

Functions

messageFromJson(Map<String, dynamic> json) Message