CustomLocalAqi.fromJson constructor

CustomLocalAqi.fromJson(
  1. Map json_
)

Implementation

CustomLocalAqi.fromJson(core.Map json_)
    : this(
        aqi: json_.containsKey('aqi') ? json_['aqi'] as core.String : null,
        regionCode: json_.containsKey('regionCode')
            ? json_['regionCode'] as core.String
            : null,
      );