BlueprintFile class
Reads a blueprint from a file, in whichever format it was written in.
A blueprint's format is fixed when it is authored. A .yaml file stays
YAML — shown, edited and re-saved as the YAML somebody wrote, comments and
all — and a .json file stays JSON. The two are never mixed within one
document, and the source travels with the parsed form so the Hub can hand it
back exactly as received.
The parsing lives in blueprint_source.dart, which is free of dart:io
so the dashboard can author blueprints too. Only the file reading is here,
and only this half is CLI-only.
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited