copyWith method

RoomDimensions copyWith({
  1. double? length,
  2. double? width,
  3. double? height,
})

Implementation

RoomDimensions copyWith({double? length, double? width, double? height}) =>
    RoomDimensions(
      length: length ?? this.length,
      width: width ?? this.width,
      height: height ?? this.height,
    );