fire method
Fires a new event on the event bus with the specified event
.
Implementation
void fire(event, String eventName) {
if (_subscriptions.containsKey(eventName)) {
_streamController.add(event);
_cachedEvent.remove(eventName);
} else {
_cachedEvent.addAll({
eventName: event,
});
}
}