removeCallback method Null safety

void removeCallback(
  1. ValueGetter<Future<bool>> callback
)
inherited

Remove a previously registered callback.

If the given callback is not registered, the call is ignored.

Implementation

void removeCallback(ValueGetter<T> callback) => _callbacks.remove(callback);