TextInput class

Represents the natural language text to be processed.

Constructors

TextInput({@required String text, @required String languageCode})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
languageCode String
The language of this conversational query. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text String
The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

Static Methods

fromJson(Map<String, dynamic> json) TextInput