HistoricalHourlyWeather.fromMap constructor

HistoricalHourlyWeather.fromMap(
  1. Map map
)

Implementation

HistoricalHourlyWeather.fromMap(Map<dynamic, dynamic> map) {
  time = map['time'] as String;
  temp = map['temp'] as String;
  icon = map['icon'] as String;
  text = map['text'] as String;
  wind360 = map['wind360'] as String;
  windDir = map['windDir'] as String;
  windScale = map['windScale'] as String;
  windSpeed = map['windSpeed'] as String;
  humidity = map['humidity'] as String;
  pressure = map['pressure'] as String;
  precip = map['precip'] as String;
}