removePropertyChangedListener method
remove the listener used for notify the data source changes.
Stop calling the listener every time in controller's property changed.
If listener
is not currently registered as a listener, this method does
nothing.
Listeners can be added with addPropertyChangedListener.
Implementation
void removePropertyChangedListener(
DateRangePickerValueChangedCallback listener) {
if (_listeners == null) {
return;
}
_listeners?.remove(listener);
}