registerCommand method

void registerCommand(
  1. String name,
  2. Command command
)

Register a command on this level.

Implementation

void registerCommand(final String name, final Command command) =>
    commands[name] = command;