changeCity method

void changeCity(
  1. String? city
)

Implementation

void changeCity(String? city) {
  selectedCity.city = city??"";
  sink.add(selectedCity);
}