RoomDimensions class
Measured room extents in meters.
Constructors
- RoomDimensions({required double width, required double height, required double length})
-
const
-
RoomDimensions.fromJson(Map<
String, dynamic> json) -
factory
Properties
- floorArea → double
-
no setter
- floorAreaInSqFeet → double
-
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → double
-
final
- heightInFeet → double
-
no setter
- length → double
-
final
- lengthInFeet → double
-
no setter
- perimeter → double
-
no setter
- perimeterInFeet → double
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- volume → double
-
no setter
- volumeInCuFeet → double
-
no setter
- width → double
-
final
- widthInFeet → double
-
no setter
Methods
-
copyWith(
{double? length, double? width, double? height}) → RoomDimensions -
getFormattedFloorArea(
MeasurementUnit unit, {int decimals = 2}) → String -
getFormattedHeight(
MeasurementUnit unit, {int decimals = 2}) → String -
getFormattedLength(
MeasurementUnit unit, {int decimals = 2}) → String -
getFormattedPerimeter(
MeasurementUnit unit, {int decimals = 2}) → String -
getFormattedVolume(
MeasurementUnit unit, {int decimals = 2}) → String -
getFormattedWidth(
MeasurementUnit unit, {int decimals = 2}) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, double> -
toString(
) → String -
A string representation of this object.
override
-
toStringWithUnit(
MeasurementUnit unit) → String
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override