WeatherDaily.fromMap constructor

WeatherDaily.fromMap(
  1. Map map
)

fromMap

Implementation

WeatherDaily.fromMap(Map<dynamic, dynamic> map) {
  fxDate = map['fxDate'] ?? '';
  sunrise = map['sunrise'] ?? '';
  sunset = map['sunset'] ?? '';
  moonRise = map['moonRise'] ?? '';
  moonSet = map['moonSet'] ?? '';
  moonPhase = map['moonPhase'] ?? '';
  moonPhaseIcon = map['moonPhaseIcon'] ?? '';
  tempMax = map['tempMax'] ?? '';
  tempMin = map['tempMin'] ?? '';
  iconDay = map['iconDay'] ?? '';
  iconNight = map['iconNight'] ?? '';
  textDay = map['textDay'] ?? '';
  textNight = map['textNight'] ?? '';
  wind360Day = map['wind360Day'] ?? '';
  wind360Night = map['wind360Night'] ?? '';
  windDirDay = map['windDirDay'] ?? '';
  windDirNight = map['windDirNight'] ?? '';
  windScaleDay = map['windScaleDay'] ?? '';
  windScaleNight = map['windScaleNight'] ?? '';
  windSpeedDay = map['windSpeedDay'] ?? '';
  windSpeedNight = map['windSpeedNight'] ?? '';
  humidity = map['humidity'] ?? '';
  precip = map['precip'] ?? '';
  pressure = map['pressure'] ?? '';
  cloud = map['cloud'] ?? '';
  uvIndex = map['uvIndex'] ?? '';
  vis = map['vis'] ?? '';
}