changeDistrict method

void changeDistrict(
  1. String? district
)

Implementation

void changeDistrict(String? district) {
  selectedCity.district = district??"";
  sink.add(selectedCity);
}