cityFromJson function

List<City> cityFromJson(
  1. String str
)

Implementation

List<City> cityFromJson(String str) =>
    List<City>.from(json.decode(str).map((x) => City.fromJson(x)));