dispose abstract method

Future<void> dispose()

Closes the all-events stream and every node of the bus. Safe to call twice. After dispose the bus is unusable: fire/request/listen/subscribe/subscribe throw StateError.

Implementation

Future<void> dispose();