MemoryDesiredStateRepository class
In-memory DesiredStateRepository.
- Implemented types
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
-
all(
) → Future< Map< String, DesiredState> > -
Every declared state, by node id.
override
-
delete(
NodeId nodeId) → Future< bool> -
Stops expecting anything of
nodeId; returns true if it had a state.override -
find(
NodeId nodeId) → Future< DesiredState?> -
The state
nodeIdshould be in, ornullif none was ever declared.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
NodeId nodeId, DesiredState state) → Future< void> -
Sets the state
nodeIdshould converge to.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited