cmd method

dynamic cmd(
  1. String cmd,
  2. Object data
)

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);
}