ChatwootRepository class abstract

Handles interactions between chatwoot client api serviceclientService and localStorage if persistence is enabled.

Results from repository operations are passed through callbacks to be handled appropriately

Implementers

Constructors

ChatwootRepository(ChatwootClientService clientService, LocalStorage localStorage, ChatwootCallbacks callbacks)

Properties

callbacks ChatwootCallbacks
getter/setter pair
clientService ChatwootClientService
final
hashCode int
The hash code for this object.
no setterinherited
localStorage LocalStorage
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() Future<void>
dispose() → void
getMessages() Future<void>
getPersistedMessages() → void
initialize(ChatwootUser? user) Future<void>
listenForEvents() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendAction(ChatwootActionType action) → void
sendMessage(ChatwootNewMessageRequest request) Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited