City.fromJson constructor

City.fromJson(
  1. Map<String, dynamic> json
)

Creates a new City from JSON.

Implementation

factory City.fromJson(Map<String, dynamic> json) => _$CityFromJson(json);