NullStateStore class
Dummy state store implementation that doesn't do anything.
It can be used in testing or in situations when state management is not required but shall be disabled.
See ICache
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
delete<
T>( String? correlationId, String key) → Future< T?> -
Deletes a state from the store by its key.
override
-
load<
T>( String? correlationId, String key) → Future< T?> -
Loads state from the store using its key.
If value is missing in the stored it returns null.
override
-
loadBulk<
T>( String? correlationId, List< String> keys) → Future< List< StateValue< T>>> -
Loads an array of states from the store using their keys.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save<
T>( String? correlationId, String key, dynamic value) → Future< T> -
Saves state into the store.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited