ItalianCities.fromJson constructor

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

Implementation

factory ItalianCities.fromJson(Map<String, dynamic> json) {
  return ItalianCities(
    city: json['city'],
    lat: json['lat'],
    lng: json['lng'],
  );
}