HistoricalHourlyAir.fromMap constructor
HistoricalHourlyAir.fromMap(
- Map<String, dynamic> map
)
Implementation
HistoricalHourlyAir.fromMap(Map<String, dynamic> map) {
pubTime = map['pubTime'] as String;
aqi = map['aqi'] as String;
primary = map['primary'] as String;
level = map['level'] as String;
category = map['category'] as String;
pm10 = map['pm10'] as String;
pm2p5 = map['pm2p5'] as String;
no2 = map['no2'] as String;
so2 = map['so2'] as String;
co = map['co'] as String;
o3 = map['o3'] as String;
}