toJson method
Converts this RoomDimensions to a JSON map.
Implementation
Map<String, dynamic> toJson() {
return {
'length': length,
'width': width,
'height': height,
};
}
Converts this RoomDimensions to a JSON map.
Map<String, dynamic> toJson() {
return {
'length': length,
'width': width,
'height': height,
};
}