send method
void send(Source
void send(data) { if ((data is String)) { _blink.BlinkRTCDataChannel.instance.send_Callback_1_(this, data); return; } if ((data is Blob)) { _blink.BlinkRTCDataChannel.instance.send_Callback_1_(this, data); return; } if ((data is TypedData)) { _blink.BlinkRTCDataChannel.instance.send_Callback_1_(this, data); return; } if ((data is ByteBuffer)) { _blink.BlinkRTCDataChannel.instance.send_Callback_1_(this, data); return; } throw new ArgumentError("Incorrect number or type of arguments"); }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/RtcDataChannel/send.html