BrickLocation class
Contains metadata for the location of a reusable brick template.
Used by MasonYaml.
- Annotations
-
- @JsonSerializable()
Constructors
- BrickLocation({String? path, GitPath? git, String? version})
-
Contains metadata for the location of a reusable brick template.
const
- BrickLocation.fromJson(dynamic json)
-
Converts a Map to a BrickLocation.
factory
Properties
- git → GitPath?
-
Git brick template path.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- path → String?
-
The local brick template path.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → String?
-
Brick version constraint.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → dynamic - Converts BrickLocation to Map
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited