parseResponse method

  1. @override
List<City> parseResponse(
  1. dynamic json
)
override

Subclasses should implement this method to parse the response from the API. Is used in the request method.

Implementation

@override
List<City> parseResponse(dynamic json) => City.fromJsonList(json);