removeOnLastListenerRemovedCallback method Null safety
- VoidCallback callback
Removes a callback previously supplied to addOnLastListenerRemovedCallback.
Implementation
void removeOnLastListenerRemovedCallback(VoidCallback callback) {
assert(callback != null);
_checkDisposed();
_onLastListenerRemovedCallbacks.remove(callback);
}