cmd method Null safety
Send command to the server.
cmd - Command name.
data
- Command parameters.
Returns a Future object which represents the command response.
Implementation
cmd(String cmd, Object data) async {
_logger.i('Sending cmd: $cmd');
transactionManager?.cmd(cmd, data);
}