Detail class

Main information of the weather.

Constructors

Detail({int? groundLevel, int? humidity, required double maxTemperature, required double minTemperature, int? pressure, int? seaLevel, required double temperature, required double temperatureFeelsLike})
Define a Detail class.
const
Detail.fromJson(Map<String, dynamic> json)
Factory that returns Detail class from json map.
factory

Properties

groundLevel int?
Atmospheric pressure on the ground level, in hPa.
final
groundLevelAtmosphere double?
Returns groundLevel in atm (Atmosphere).
no setter
groundLevelMillimetersOfMercury double?
Returns groundLevel in mmHg (Millimeters Of Mercury).
no setter
hashCode int
The hash code for this object.
no setterinherited
humidity int?
Humidity, in % (percentage).
final
maxTemperature double
Maximum temperature at the moment. This is maximal currently observed temperature (within large megalopolises and urban areas) in Kelvin degrees.
final
maxTemperatureCelsius double
Returns maxTemperature in Celsius degrees.
no setter
maxTemperatureFahrenheit double
Returns maxTemperature in Fahrenheit degrees.
no setter
minTemperature double
Minimum temperature at the moment. This is minimal currently observed temperature (within large megalopolises and urban areas) in Kelvin degrees.
final
minTemperatureCelsius double
Returns minTemperature in Celsius degrees.
no setter
minTemperatureFahrenheit double
Returns minTemperature in Fahrenheit degrees.
no setter
pressure int?
Atmospheric pressure (on the sea level, if there is no sea_level or grnd_level data), in hPa.
final
pressureAtmosphere double?
Returns pressure in atm (Atmosphere).
no setter
pressureMillimetersOfMercury double?
Returns pressure in mmHg (Millimeters Of Mercury).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seaLevel int?
Atmospheric pressure on the sea level, in hPa.
final
seaLevelAtmosphere double?
Returns seaLevel in atm (Atmosphere).
no setter
seaLevelMillimetersOfMercury double?
Returns seaLevel in mmHg (Millimeters Of Mercury).
no setter
temperature double
Temperature in Kelvin degrees.
final
temperatureCelsius double
Returns temperature in Celsius degrees.
no setter
temperatureFahrenheit double
Returns temperature in Fahrenheit degrees.
no setter
temperatureFeelsLike double
Temperature. This temperature parameter accounts for the human perception of weather in Kelvin degrees.
final
temperatureFeelsLikeCelsius double
Returns temperatureFeelsLike in Celsius degrees.
no setter
temperatureFeelsLikeFahrenheit double
Returns temperatureFeelsLike in Fahrenheit degrees.
no setter

Methods

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

Operators

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