DOORepository class abstract
Handles interactions between DOO client api serviceclientService and localStorage if persistence is enabled.
Results from repository operations are passed through callbacks to be handled appropriately
- Implementers
Constructors
- DOORepository(DOOClientService clientService, LocalStorage localStorage, DOOCallbacks callbacks)
Properties
- callbacks ↔ DOOCallbacks
-
getter/setter pair
- clientService → DOOClientService
-
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(
DOOUser? user) → Future< void> -
listenForEvents(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendAction(
DOOActionType action) → void -
sendMessage(
DOONewMessageRequest request) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited