RemoteStoreProvider<T> class
abstract
StoreProvider provides the way to access the message history
which provides add, remove, update and stream methods.
T
is the type of the message.
- Implementers
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
-
add(
T message) → Future< void> - Add a new message to the store
-
dispose(
) → Future< void> -
init(
Map< String, dynamic> config) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
T message) → Future< void> - Remove a message from the store
-
stream(
) → Stream< T> - Stream will emit the message when there is a new message
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
T message) → Future< void> - Update a message in the store
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited