destroy method
void
destroy()
Destroy this EventBus
. This is generally only in a testing context.
Implementation
void destroy() {
_cachedEvent.clear();
_subscriptions.clear();
_streamController.close();
}
Destroy this EventBus
. This is generally only in a testing context.
void destroy() {
_cachedEvent.clear();
_subscriptions.clear();
_streamController.close();
}