findCommand method

ICommand? findCommand(
  1. String commandName
)

Searches for a command by its name.

  • commandName the name of the command to search for. Returns the command, whose name matches the provided name. See ICommand

Implementation

/// - [commandName] the name of the command to search for.
/// Returns the command, whose name matches the provided name.

/// See [ICommand]

ICommand? findCommand(String commandName) {
  return _commandsByName[commandName];
}