Weather class
Aiui 天气信息实体
Constructors
- Weather({int? airData, String? airQuality, String? city, String? date, int? dateLong, String? dateForVoice, WeatherExp? exp, String? humidity, String? img, String? lastUpdateTime, String? pm25, String? precipitation, int? temp, String? tempHigh, String? tempLow, String? tempRange, String? tempReal, String? warning, String? weather, String? weatherDescription, String? weatherDescription3, String? weatherDescription7, int? weatherType, String? week, String? wind, int? windLevel})
- Weather.fromJson(Map json)
-
factory
Properties
- airData ↔ int?
-
getter/setter pair
- airQuality ↔ String?
-
getter/setter pair
- city ↔ String?
-
getter/setter pair
- date ↔ String?
-
getter/setter pair
- dateForVoice ↔ String?
-
getter/setter pair
- dateLong ↔ int?
-
getter/setter pair
- exp ↔ WeatherExp?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- humidity ↔ String?
-
getter/setter pair
- img ↔ String?
-
getter/setter pair
- lastUpdateTime ↔ String?
-
getter/setter pair
- pm25 ↔ String?
-
getter/setter pair
- precipitation ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- temp ↔ int?
-
getter/setter pair
- tempHigh ↔ String?
-
getter/setter pair
- tempLow ↔ String?
-
getter/setter pair
- tempRange ↔ String?
-
getter/setter pair
- tempReal ↔ String?
-
getter/setter pair
- warning ↔ String?
-
getter/setter pair
- weather ↔ String?
-
getter/setter pair
- weatherDescription ↔ String?
-
getter/setter pair
- weatherDescription3 ↔ String?
-
getter/setter pair
- weatherDescription7 ↔ String?
-
getter/setter pair
- weatherType ↔ int?
-
getter/setter pair
- week ↔ String?
-
getter/setter pair
- wind ↔ String?
-
getter/setter pair
- windLevel ↔ int?
-
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