Temperature class
Temperature data
Constructors
- Temperature(num temp, num feelsLike, num tempMin, num tempMax, int pressure, int humidity)
- Creates a Temperature object
-
Temperature.fromJson(Map<
String, dynamic> json) -
Creates a Temperature object from json
factory
Properties
- feelsLike → num
-
This temperature parameter accounts for the human perception of weather
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- humidity → int
-
Humidity
final
- pressure → int
-
Atmospheric pressure
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- temp → num
-
Temperature
final
- tempMax → num
-
Maximum temperature at the moment
final
- tempMin → num
-
Minimum temperature at the moment
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns a Map with the object data
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited