Temperature class

Basic structure for temperature attributes.

Inheritance
Implementers

Constructors

Temperature(String? code)

Properties

hashCode int
The hash code for this object.
no setterinherited
inCelsius double?
Get the temperature in Celsius.
no setter
inFahrenheit double?
Get the temperature in Fahrenheit.
no setter
inKelvin double?
Get the temperature in Kelvin.
no setter
inRankine double?
Get the temperature in Rankine.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value double?
Get the value as a float.
no setterinherited

Methods

asMap() Map<String, Object?>
Returns the numeric value data as a map like Map<String, dynamic>.
override
converted({double? conversionDouble, double conversionFunction(double)?}) double?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() String
Returns the object data as a string in JSON format.
inherited
toString() String
A string representation of this object.
override

Operators

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