MediatorConfig constructor

const MediatorConfig({
  1. required Widget child,
  2. Future<void> onInitialize()?,
  3. Widget onInitializeWaitingBuilder(
    1. BuildContext context
    )?,
  4. Map<Type, CommandHandlerDelegate>? commandHandlers,
  5. Map<Type, QueryHandlerDelegate>? queryHandlers,
  6. Map<Type, List<AggregatorHandlerDelegate>>? aggregatorHandlers,
  7. Map<Type, List<EventHandlerDelegate>>? eventHandlers,
  8. List<Stream<IEvent>>? globalEventObservers,
  9. Key? key,
})

Implementation

const MediatorConfig({
  required this.child,
  this.onInitialize,
  this.onInitializeWaitingBuilder,
  this.commandHandlers,
  this.queryHandlers,
  this.aggregatorHandlers,
  this.eventHandlers,
  this.globalEventObservers,
  super.key,
});