send method
void
send(
- dynamic data
Send a message. @param data.
Implementation
void send(dynamic data) {
_logger.debug('send()');
if (closed) throw 'closed';
dataChannel.send(data is String
? RTCDataChannelMessage(data)
: RTCDataChannelMessage.fromBinary(data));
}