getCommand method

Command? getCommand(
  1. String name
)

Get the underlying Command by name or alias.

Implementation

Command? getCommand(String name) => get(name)?.command;