Fahrenheit class
Fahrenheit is a unit of Tempurture
which used by majority countries
Here is the concept of Fahrenheit
- Water bwoling and melting
- Melting point: ~ 32°F
- Bowling point: ~ 212°F
- Human normal temperature: 99.5°F
- Inheritance
-
- Object
- Temperature
- Fahrenheit
Constructors
- Fahrenheit(num value)
-
Assign Fahrenheit
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 setter - toCelsius → Celsius
-
Convert to Celsius
no setter
- 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 FormatExceptioninherited -
toFixedDoubleStringValue(
int fractionDigits) → String -
Export fixed double String with
fractionDigits
inherited -
toString(
) → String -
Convert to String for displaying
Tempurture
datainherited
Operators
-
operator <(
Object compare) → bool -
Compare this tempurture is cooler than
compare
override -
operator <=(
Object compare) → bool -
Compare this tempurture is cooler or equal
compare
override -
operator ==(
Object compare) → bool -
Compare this tempurture is the same with
compare
override -
operator >(
Object compare) → bool -
Compare this tempurture is warmer than
compare
override -
operator >=(
Object compare) → bool -
Compare this tempurture is warmer or equal
compare
override