send method

  1. @override
dynamic send(
  1. String command,
  2. dynamic payload
)
override

Sends the command and payload to the device or service responsible for handling events.

The command is used to route events to the correct device or service handler. The payload is the data that will be used with the command by the device or service.

Returns a future with the result MessageSendResponse once completed successfully.

Implementation

@override
external send(String command, payload);