MeasurementUnit enum

Display unit system for room measurements.

Inheritance
Available extensions

Values

metric → const MeasurementUnit

Uses meters, square meters, and cubic meters.

imperial → const MeasurementUnit

Uses feet, square feet, and cubic feet.

Properties

areaUnit → String

Available on MeasurementUnit, provided by the MeasurementUnitLabels extension

Abbreviation used for areas in this system.
no setter
displayName → String

Available on MeasurementUnit, provided by the MeasurementUnitLabels extension

Human-readable name of this unit system.
no setter
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
lengthUnit → String

Available on MeasurementUnit, provided by the MeasurementUnitLabels extension

Abbreviation used for lengths in this system.
no setter
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
volumeUnit → String

Available on MeasurementUnit, provided by the MeasurementUnitLabels extension

Abbreviation used for volumes in this system.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<MeasurementUnit>
A constant List of the values in this enum, in order of their declaration.