WeatherResponse class

Constructors

WeatherResponse({List<DailyWeather> dailyWeather, List<HourlyWeather> hourlyWeather, List<LiveInfo> liveInfo, Aqi aqi, WeatherSituation weatherSituation})
WeatherResponse.fromJson(String str)
factory
WeatherResponse.fromMap(Map<String, dynamic> jsonMap)
factory

Properties

aqi Aqi
read / write
dailyWeather List<DailyWeather>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hourlyWeather List<HourlyWeather>
read / write
liveInfo List<LiveInfo>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
weatherSituation WeatherSituation
read / write

Methods

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

Operators

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

Constants

BeSusceptibleCold → const String
"3"
CarWashIndex → const String
"4"
ClothingIndex → const String
"1"
ColdIndex → const String
"3"
DownJacket → const String
"1"
EasierCatchCold → const String
"2"
ExtremelySusceptibleCold → const String
"4"
HeavyCoat → const String
"2"
LongSleeves → const String
"5"
Medium → const String
"3"
MoreSuitable → const String
"3"
MoreSuitableSport → const String
"2"
NotEasyCatchCold → const String
"1"
NotSuitableSport → const String
"3"
NotVerySuitable → const String
"2"
ShortSleeve → const String
"6"
SportIndex → const String
"2"
Strong → const String
"4"
Suitable → const String
"4"
SuitableSport → const String
"1"
Sweater → const String
"3"
ThinCoat → const String
"4"
ThinShortSleeve → const String
"7"
TourismIndex → const String
"5"
Unsuitable → const String
"1"
UVIndex → const String
"6"
VeryStrong → const String
"5"
Weak → const String
"2"
Weakest → const String
"1"