void send(data_OR_message)

Source

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