Temperature class abstract

Temperature is a unit for expressiong hot and cold

Implementers

Constructors

Temperature(num value)
Assign Tempurture value

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String?
Symbol of WeatherUnit
no setterinherited
value double
Actual value of this WeatherUnit
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFixed(int fractionDigits) double
Export from toFixedString then invoke double.parse. Therefore, it is impossible to invoke FormatException
toFixedDoubleStringValue(int fractionDigits) String
Export fixed double String with fractionDigits
toString() String
Convert to String for displaying Tempurture data
override

Operators

operator <(Object compare) bool
Compare this tempurture is cooler than compare
operator <=(Object compare) bool
Compare this tempurture is cooler or equal compare
operator ==(Object compare) bool
Compare this tempurture is the same with compare
override
operator >(Object compare) bool
Compare this tempurture is warmer than compare
operator >=(Object compare) bool
Compare this tempurture is warmer or equal compare