void send(data)

Source

void send(data) {
  if ((data is String || data == null)) {
    _blink.BlinkRTCDataChannel.instance.send_Callback_1_(this, data);
    return;
  }
  if ((data is Blob || data == null)) {
    _blink.BlinkRTCDataChannel.instance.send_Callback_1_(this, data);
    return;
  }
  if ((data is TypedData || data == null)) {
    _blink.BlinkRTCDataChannel.instance.send_Callback_1_(this, data);
    return;
  }
  if ((data is ByteBuffer || data == null)) {
    _blink.BlinkRTCDataChannel.instance.send_Callback_1_(this, data);
    return;
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}