Temperature$Rankine class final
Unit of Temperature
- Inheritance
-
- Object
- Unit<
Temperature> - Temperature
- Temperature$Rankine
- Available extensions
Constructors
- Temperature$Rankine.new([num value = 0])
-
const
- Temperature$Rankine.from(Temperature unit)
-
Construct Temperature$Rankine from other Temperature
factory
-
Temperature$Rankine.fromJson(Map<
String, dynamic> json) -
If there is no matched key, returning with 0 value
factory
Properties
- anchor → Temperature
-
no setteroverride
- displayName → String
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- majorName → String
-
no setterinherited
- minorName → String
-
no setteroverride
- ratio → num
-
1 Temperature$Rankine = 1.0 Temperature$Kelvin
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbol → String
-
Symbol for Temperature$Rankine
no setteroverride
- toCelsius → Temperature
-
Convert to Temperature$Celsius
no setterinherited
- toFahrenheit → Temperature
-
Convert to Temperature$Fahrenheit
no setterinherited
- toKelvin → Temperature
-
Convert to Temperature$Kelvin
no setterinherited
- toRankine → Temperature
-
Convert to Temperature$Rankine
no setterinherited
- toReaumur → Temperature
-
Convert to Temperature$Reaumur
no setterinherited
-
units
→ List<
Temperature> -
no setterinherited
-
unitsAsMap
→ EnumValues<
Temperature> -
no setterinherited
- value → num
-
finalinherited
- valueShift → num
-
Ignore this
no setteroverride
Methods
-
compareTo(
Temperature other) → int -
Compares this object to another object.
inherited
-
convertTemperature(
Temperature to) → Temperature -
Available on Temperature, provided by the TemperatureHelper extension
Convert between temperature units using direct formulas rather than the ratio/shift system to ensure accuracy -
convertTo<
E extends Unit< (Temperature> >E to) → Temperature -
Special conversion logic for temperature units
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Temperature$Rankine in JSON Map for advance use-case
override
-
toString(
) → String -
A string representation of this object.
inherited
-
withPrecision(
[Precision precision = Precision.two]) → Temperature -
Get the exact precision on value calculation
inherited
-
withValue(
num val) → Temperature$Rankine -
Creating Temperature$Rankine with new value
override
Operators
-
operator +(
Temperature other) → Temperature -
inherited
-
operator -(
Temperature other) → Temperature -
inherited
-
operator <(
Temperature other) → bool -
inherited
-
operator <=(
Temperature other) → bool -
inherited
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator >(
Temperature other) → bool -
inherited
-
operator >=(
Temperature other) → bool -
inherited