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