dispose abstract method
Closes the all-events stream and every node of the bus. Safe to call twice. After dispose the bus is unusable: send/listen/subscribe/setHandler throw StateError.
Implementation
Future<void> dispose();
Closes the all-events stream and every node of the bus. Safe to call twice. After dispose the bus is unusable: send/listen/subscribe/setHandler throw StateError.
Future<void> dispose();