send<M> method
void
send<M>(
- M message
Sends message
.
- If isInExecutionContext it will send the
message
to the executing task (AsyncTask.run).
Implementation
void send<M>(M message) => _port.send<M>(message, isInExecutionContext);