executeCommand method

EditorCommandDispatchResult executeCommand(
  1. String commandId, {
  2. Object? argument,
})

Dispatches a stable editor command against this model.

Implementation

EditorCommandDispatchResult executeCommand(
  String commandId, {
  Object? argument,
}) => _commandRegistry.dispatch(commandId, this, argument: argument);