cancelListeners method

  1. @override
void cancelListeners({
  1. List<String> excludeIds = const <String>[],
})
override

Cancel all listeners added.

It is fine to call this method and then add additional listeners.

If excludeIds is non-empty, any listeners that have an associated id from _listenersById will not be cancelled.

Implementation

@override
void cancelListeners({List<String> excludeIds = const <String>[]}) {
  _delegate.cancelListeners();
}