dispose method

  1. @override
Future<void> dispose()
override

Closes the all-events stream and every node of the bus. Safe to call more than once; after dispose the bus throws StateError on use.

Implementation

@override
Future<void> dispose() => _disposeFuture ??= _disposeImpl();