DimEnd class sealed
One end of a dimension (spec 11 D2, decision 1): a wall end point it follows, or a fixed point. Value-equal, exactly (stored values, CLAUDE.md).
- Implementers
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
-
toJson(
) → Map< String, Object?> -
An attached end is
{"wall": h, "k": k, "side": s},hthe wall's handle as an int,kan int ands"left","centre"or"right"; a fixed end is{"point": [x, y]}(spec 11 D2). -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, Object?> json) → DimEnd -
Either shape of toJson. Throws on a missing key, a wall that is not
a handle, or an unknown side name, as 07's justification does. Any
kint is accepted, and any coordinate (R-3): akoutside {0, 1} or a non-finite coordinate isdimension.broken(D15), and generates nothing (D7).