canHandleCommand method
Check if the aggregate can handle a specific command Override in subclasses for custom command routing
Implementation
@protected
bool canHandleCommand(Command command) {
return _commandHandlers.getHandler(command) != null;
}