send abstract method

Future<void> send(
  1. RTCDataChannelMessage message
)

Send a message to this datachannel. To send a text message, use the default constructor to instantiate a text RTCDataChannelMessage for the message parameter. To send a binary message, pass a binary RTCDataChannelMessage constructed with RTCDataChannelMessage.fromBinary

Implementation

Future<void> send(RTCDataChannelMessage message);