SimpleResponses class

The collection of simple response candidates. This message in QueryResult.fulfillment_messages and WebhookResponse.fulfillment_messages should contain only one SimpleResponse.

Inheritance

Constructors

SimpleResponses({String platform, @required List<SimpleResponse> simpleResponses})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
platform String
The platform that this message is intended for. See Platform.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
simpleResponses List<SimpleResponse>
The list of simple responses.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

fromJson(Map<String, dynamic> json) SimpleResponses
override