MemoryBlueprintRepository class
In-memory BlueprintRepository.
- 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< List< Blueprint> > -
Returns all blueprints.
override
-
delete(
BlueprintId id) → Future< bool> -
Deletes the blueprint with
id; returns true if removed.override -
find(
BlueprintId id) → Future< Blueprint?> -
Returns the blueprint with
id, ornull.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
Blueprint blueprint) → Future< void> -
Inserts or replaces
blueprint.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited