ThreadsModel class abstract
- Implementers
Constructors
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
-
create(
[List< Message> ? messages]) → Future<Conversation> -
delete(
String id) → Future< void> -
deleteMessage(
String threadId, String messageId) → Future< void> -
listMessages(
{required String threadId, bool? asc, int? limit, String? after, String? before}) → Future< List< Message> > -
load(
String id) → Future< Conversation> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveMetadata(
String threadId, Map< String, String> metadata) → Future<void> -
sendMessage(
String threadId, Message message) → Future< Message> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited