MasonLockJson class

Mason lock file which contains locked brick locations.

Annotations
  • @JsonSerializable()

Constructors

MasonLockJson({Map<String, BrickLocation>? bricks})
const
MasonLockJson.fromJson(Map json)
Converts Map to MasonLockJson
factory

Properties

bricks Map<String, BrickLocation>
Map of BrickLocation alias to BrickLocation 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 MasonLockJson to Map
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

empty → const MasonLockJson
static constant for an empty mason-lock.yaml file.
file → const String
static constant for mason lock file name. mason-lock.json