addCommands method

void addCommands(
  1. List<ICommand> commands
)

Adds multiple ICommand commands to this command set.

  • commands the array of commands to add. See ICommand

Implementation

/// - [commands] the array of commands to add.

/// See [ICommand]

void addCommands(List<ICommand> commands) {
  for (var i = 0; i < commands.length; i++) {
    addCommand(commands[i]);
  }
}