Message class
Message class to represent a message in the conversation.
Constructors
Properties
Methods
-
call(
) → Map< String, dynamic> - Converts the message to a format suitable for the API call. @return A Map<String, dynamic(text or image base64encoded)> representing the message.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited