sendCommand method

Future<void> sendCommand(
  1. String type,
  2. Object data
)

Implementation

Future<void> sendCommand(String type, Object data) =>
    _methodChannel.invokeMethod(
        "Backendless.Messaging.Channel.sendCommand", <String, dynamic>{
      "channelHandle": _channelHandle,
      "type": type,
      "data": data
    });