getCommands method Null safety

List<ICommand> getCommands()

Gets all commands registered in this command set. Returns a list of commands. See ICommand