register method

void register(
  1. Command command
)

Public method or function.

Implementation

void register(Command command) {
  _commands.add(command);
}