SquadweRepository class abstract

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

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

Implementers

Constructors

SquadweRepository(SquadweClientService clientService, LocalStorage localStorage, SquadweCallbacks callbacks)

Properties

callbacks SquadweCallbacks
getter/setter pair
clientService SquadweClientService
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(SquadweUser? user) Future<void>
listenForEvents() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendAction(SquadweActionType action) → void
sendMessage(SquadweNewMessageRequest request) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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