MasonYaml class
Brick yaml file which contains metadata required to create
a MasonGenerator
from a brick template.
- Annotations
-
- @JsonSerializable()
Constructors
-
MasonYaml(Map<
String, BrickLocation> ? bricks) -
Brick yaml file which contains metadata required to create
a
MasonGenerator
from a brick template.const - MasonYaml.fromJson(Map json)
-
Converts Map to MasonYaml
factory
Properties
-
bricks
→ Map<
String, BrickLocation> -
Map of
BrickLocation
alias toBrickLocation
instances.final - 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
-
toJson(
) → Map - Converts MasonYaml to Map
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
findNearest(
Directory cwd) → File? -
Finds nearest ancestor
mason.yaml
file relative to thecwd
.