addListener method
Register a closure to be called when the object changes.
Implementation
bool addListener(VoidCallback listener) {
final add = _implChangeNotifier != null;
if (add) {
_implChangeNotifier?.addListener(listener);
}
return add;
}