Pressure enum
Represents units of pressure measurement.
Values
- hectoPa → const Pressure
-
const Pressure('Hectopascal', 'hPa')
- mbar → const Pressure
-
const Pressure('Millibar ', 'mbar')
- mmHg → const Pressure
-
const Pressure('Millimetre of mercury', 'mmHg')
- kPa → const Pressure
-
const Pressure('Kilopascal', 'kPa')
- atm → const Pressure
-
const Pressure('Atmosphere', 'atm')
- inHg → const Pressure
-
const Pressure('Inch of mercury', 'inHg')
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
value(
double value, [int precision = 1]) → double -
Translating pressure from hPa to another.
override
-
valueToString(
double value, [int precision = 0]) → String -
Converts
value
to the minimum number of decimal places. Default to 0.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited