addCommand method

void addCommand(
  1. ICommand command
)

Adds a ICommand command to this command set.

  • command the command to add. See ICommand

Implementation

/// - [command]   the command to add.

/// See [ICommand]

void addCommand(ICommand command) {
  _commands.add(command);
  _buildCommandChain(command);
}