HomeCity.fromJson constructor

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

Implementation

HomeCity.fromJson(Map<String, dynamic> json) {
  id = json["id"];
  label = json["label"];
  countryCode = json["countryCode"];
  zip = json["zip"];
  numberOfResults = json["numberOfResults"];
}