sendWithLocalPort method

Future<void> sendWithLocalPort(
  1. dynamic message,
  2. LocalPort localPort
)

Sends a message through the remote port with localPort information.

The remote app can reply to the message through the provided localPort.

Implementation

Future<void> sendWithLocalPort(dynamic message, LocalPort localPort) async {
  return _manager.sendWithLocalPort(this, localPort, message);
}