EventBus constructor

EventBus({
  1. int maxHistoryLength = 100,
  2. Map<Type, List<AppEvent Function(AppEvent event)>> map = const {},
  3. bool allowLogging = false,
})

Create the event bus

Implementation

EventBus({
  this.maxHistoryLength = 100,
  this.map = const {},
  this.allowLogging = false,
});