RouteSearchCityList.fromJson constructor
Implementation
RouteSearchCityList.fromJson(Map<String, dynamic> json) {
if (json['districts'] != null) {
districts = [];
json['districts'].forEach((v) {
districts?.add(Districts.fromJson(v));
});
}
}