copyWith method
Implementation
FloorData copyWith({ String? id,
String? flatType,
String? category,
String? unitFloor,
String? unitFloorTemp,
bool isSelected = false,
List<UnitData>? unitData,
}) => FloorData( id: id ?? _id,
flatType: flatType ?? _flatType,
category: category ?? _category,
unitFloor: unitFloor ?? _unitFloor,
unitFloorTemp: unitFloorTemp ?? _unitFloorTemp,
isSelected: isSelected ?? _isSelected,
unitData: unitData ?? _unitData,
);