discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

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}, h the wall's handle as an int, k an int and s "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 k int is accepted, and any coordinate (R-3): a k outside {0, 1} or a non-finite coordinate is dimension.broken (D15), and generates nothing (D7).