WeatherNow.fromMap constructor

WeatherNow.fromMap(
  1. Map map
)

fromMap

Implementation

WeatherNow.fromMap(Map<dynamic, dynamic> map) {
  cloud = map['cloud'] as String;
  dew = map['dew'] as String;
  feelsLike = map['feelsLike'] as String;
  humidity = map['humidity'] as String;
  icon = map['icon'] as String;
  obsTime = map['obsTime'] as String;
  precip = map['precip'] as String;
  pressure = map['pressure'] as String;
  temp = map['temp'] as String;
  text = map['text'] as String;
  vis = map['vis'] as String;
  wind360 = map['wind360'] as String;
  windDir = map['windDir'] as String;
  windScale = map['windScale'] as String;
  windSpeed = map['windSpeed'] as String;
}