PersistentState<UpdateType> class

The base state class

Constructors

PersistentState()

Properties

box Box
The class to store the data [...]
read / write
changeFeed Stream<StateUpdate>
The feed of state changes
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
onReady Future<void>
Use this when no kvStore is provided at initialization
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

dispose() → void
Dispose when finished using
init() Future<void>
Initialize the store
mutate<T>(String key, dynamic value, [UpdateType type]) Future<void>
Mutate a property
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
select<T>(String key) → T
Get a value for a key
toString() String
Returns a string representation of this object.
inherited

Operators

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