get method

Gets air quality data feed

Implementation

Future<LondonAirForecast> get() async {
  final response = await _context.client.get(
    Uri.https(
      authority,
      '/airquality',
    ),
  );

  ClientException.checkIsSuccessStatusCode(response);

  return LondonAirForecast.fromJson(json.decode(response.body));
}