BlueprintRepository class abstract
Persists Blueprints.
A blueprint is what a machine is, composed from the presets above. It is stored with the bytes it was authored in, so a YAML blueprint reads back as the YAML somebody wrote rather than as a re-rendering of it.
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.
-
delete(
BlueprintId id) → Future< bool> -
Deletes the blueprint with
id; returns true if removed. -
find(
BlueprintId id) → Future< Blueprint?> -
Returns the blueprint with
id, ornull. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
Blueprint blueprint) → Future< void> -
Inserts or replaces
blueprint. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited