remove method

void remove(
  1. String commandName
)

Removes a command of specified commandName.

Implementation

void remove(String commandName) {
  if (hasCommand(commandName)) {
    _commands.remove(commandName);
  }
}