WeatherHourly.fromMap constructor
WeatherHourly.fromMap(
- Map map
fromMap
Implementation
WeatherHourly.fromMap(Map<dynamic, dynamic> map) {
fxTime = map['fxTime'] ?? '';
temp = map['temp'] ?? '';
icon = map['icon'] ?? '';
text = map['text'] ?? '';
wind360 = map['wind360'] ?? '';
windDir = map['windDir'] ?? '';
windScale = map['windScale'] ?? '';
windSpeed = map['windSpeed'] ?? '';
humidity = map['humidity'] ?? '';
precip = map['precip'] ?? '';
pop = map['pop'] ?? '';
pressure = map['pressure'] ?? '';
dew = map['dew'] ?? '';
cloud = map['cloud'] ?? '';
}