Brick class
Metadata for a brick template including the name and location.
Constructors
- Brick({required BrickLocation location, String? name})
-
Metadata for a brick template including the name and location.
const
- Brick.git(GitPath git)
- Brick from a git url.
- Brick.path(String path)
- Brick from a local path.
- Brick.version({required String name, required String version})
- Brick from a version constraint.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- location → BrickLocation
-
The location of the brick.
final
- name → String?
-
The name of the brick.
final
- 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