SelectedCity.fromJson constructor
SelectedCity.fromJson(
- Map json
Implementation
factory SelectedCity.fromJson(Map<dynamic, dynamic> json) {
return SelectedCity(
city: json['city'] as String,
district: json['district'] as String,
);
}