BMFWeatherSearchForecasts.fromMap constructor

BMFWeatherSearchForecasts.fromMap(
  1. Map map
)

map => BMFWeatherSearchForecasts

Implementation

BMFWeatherSearchForecasts.fromMap(Map map)
    : assert(map != null,
          'Construct a BMFWeatherSearchForecasts,The parameter map cannot be null !') {
  date = map['date'];
  week = map['week'];
  lowestTemp = map['lowestTemp'];
  highestTemp = map['highestTemp:'];
  windPowerDay = map['windPowerDay'];
  windPowerNight = map['windPowerNight'];
  windDirectionDay = map['windDirectionDay'];
  windDirectionrNight = map['windDirectionrNight'];
  phenomenonDay = map['phenomenonDay'];
  phenomenonNight = map['phenomenonNight'];
  airQualityIndex = map['airQualityIndex'];
}