send method

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

© 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/PresentationConnection/send.html