AirDaily.fromMap constructor

AirDaily.fromMap(
  1. Map map
)

Implementation

AirDaily.fromMap(Map<dynamic, dynamic> map) {
  fxDate = map['fxDate'] as String;
  aqi = map['aqi'] as String;
  primary = map['primary'] as String;
  level = map['level'] as String;
  category = map['category'] as String;
}