Temperature class

Annotations
  • @JsonSerializable()

Constructors

Temperature({required double currentTemperature, required double feelsLike, required double tempMin, required double tempMax, required int pressure, required int humidity})
Temperature.fromJson(Map<String, dynamic> json)
factory

Properties

currentTemperature double
Temperature class holds the temperature related info from the API response currentTemperature holds the current temperature feelsLike Temperature. This temperature parameter accounts for the human perception of weather. tempMin Minimum temperature at the moment of calculation. This is minimal currently observed temperature tempMax Maximum temperature at the moment of calculation. This is maximal currently observed temperature pressure holds the pressure value humidity holds the humidity value
getter/setter pair
feelsLike double
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
humidity int
getter/setter pair
pressure int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tempMax double
getter/setter pair
tempMin double
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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