addCmd method
Adds a command to pendingCmds if non-null.
Implementation
void addCmd(Cmd? cmd) {
if (cmd != null) pendingCmds.add(cmd);
}
Adds a command to pendingCmds if non-null.
void addCmd(Cmd? cmd) {
if (cmd != null) pendingCmds.add(cmd);
}