addCallback method
- ValueGetter<
Future< callbackbool> >
inherited
Register the callback to be called when the object changes.
If other callbacks have already been registered, they must be removed
(with removeCallback
) before the callback is next called.
Implementation
void addCallback(ValueGetter<T> callback) => _callbacks.add(callback);