discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

copyWith method

OpeningParams copyWith({
  1. Handle? host,
  2. double? position,
  3. double? width,
  4. HingeEnd? hinge,
  5. SwingSide? swing,
})

Implementation

OpeningParams copyWith(
        {Handle? host,
        double? position,
        double? width,
        HingeEnd? hinge,
        SwingSide? swing}) =>
    OpeningParams(host ?? this.host, position ?? this.position,
        width ?? this.width, kind,
        hinge: hinge ?? this.hinge, swing: swing ?? this.swing);