EventBus constructor
Implementation
EventBus({
bool sync = false,
int maxQueueSize = 1000,
}) : _controller = StreamController<OpenFeatureEvent>.broadcast(sync: sync),
_maxQueueSize = maxQueueSize {
_controller.stream.listen(_dispatchEvent);
}