Kernel constructor
Kernel({
- required IntentService intents,
- EventService? events,
- CommandService? commands,
- SharedStateService? states,
- ComponentService? components,
- PackageService? packages,
- ContextMenuService? contextMenus,
Implementation
Kernel ({
required this.intents,
EventService? events,
CommandService? commands,
SharedStateService? states,
ComponentService? components,
PackageService? packages,
ContextMenuService? contextMenus,
}) {
this.states = states ?? SharedStateService([]);
this.commands = commands ?? CommandService([]);
this.contextMenus = contextMenus ?? ContextMenuService([]);
this.components = components ?? ComponentService([]);
this.events = events ?? EventService([]);
this.packages = packages ?? PackageService([]);
DebuggerService('[ debug ]');
}