executeCommand<TCommand extends Command> method
Implementation
Future<void> executeCommand<TCommand extends Command>(
TCommand command) async {
await _middleware.handleCommand<TCommand>(command, () async {
// Execute the command
});
}