void send(data_OR_message)

Source

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