addListener method
Adds a listener handler.
Implementation
@override
void addListener(void Function() listener) {
_pending[listener] = _add;
if (!_isProcessed) {
_applyChanges();
}
}
Adds a listener handler.
@override
void addListener(void Function() listener) {
_pending[listener] = _add;
if (!_isProcessed) {
_applyChanges();
}
}