SolevatoRepository class abstract

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

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

Implementers

Constructors

SolevatoRepository.new(SolevatoClientService clientService, LocalStorage localStorage, SolevatoCallbacks callbacks, String inboxIdentifier)

Properties

callbacks SolevatoCallbacks
getter/setter pair
clientService SolevatoClientService
final
hashCode int
The hash code for this object.
no setterinherited
inboxIdentifier String
getter/setter pair
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(SolevatoUser? user) Future<void>
listenForEvents() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendAction(SolevatoActionType action) → void
sendMessage(SolevatoNewMessageRequest request) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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