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"); }