discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

toJson method

  1. @override
Map<String, Object?> toJson()
override

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).

Implementation

@override
Map<String, Object?> toJson() => {
      'point': [x, y],
    };