HistoricalHourlyAirRsp.fromMap constructor
HistoricalHourlyAirRsp.fromMap(
- Map map
fromMap
Implementation
HistoricalHourlyAirRsp.fromMap(Map<dynamic, dynamic> map) {
code = map['code'] as String;
basic = Basic.fromMap(map['basic'] ?? Map());
refer = Refer.fromMap(map['refer'] ?? Map());
hourlyAirList = List.from((map['airHourlyBeans'] as List? ?? [])
.map((v) => HistoricalHourlyAirRsp.fromMap(v)));
}