MediatorConfig constructor
const
MediatorConfig({
- required Widget child,
- Future<
void> onInitialize()?, - Widget onInitializeWaitingBuilder(
- BuildContext context
- Map<
Type, CommandHandlerDelegate> ? commandHandlers, - Map<
Type, QueryHandlerDelegate> ? queryHandlers, - Map<
Type, List< ? aggregatorHandlers,AggregatorHandlerDelegate> > - Map<
Type, List< ? eventHandlers,EventHandlerDelegate> > - List<
Stream< ? globalEventObservers,IEvent> > - Key? key,
Implementation
const MediatorConfig({
required this.child,
this.onInitialize,
this.onInitializeWaitingBuilder,
this.commandHandlers,
this.queryHandlers,
this.aggregatorHandlers,
this.eventHandlers,
this.globalEventObservers,
super.key,
});