SmartReply class
Generates smart replies based on the conversations list. Creating an instance of SmartReply
final smartReply = GoogleMlKit.nlp.smartReply();
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addConversationForLocalUser(
String text) → Future< void> - Adds conversation for local user.
-
addConversationForRemoteUser(
String text, String uID) → Future< void> - Adds conversation for remote user.
-
close(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
suggestReplies(
) → Future< Map< String, dynamic> > - Suggests possible replies for the conversation. Returns a map having the status of suggestions and all the suggestions.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited