send method

  1. @override
void send(
  1. Uint8List data
)
override

Queues data for transmission. Must return immediately without blocking; the platform drains the queue off the calling isolate.

Implementation

@override
void send(Uint8List data) {
  if (_closed) throw const BluetoothWriteException('transport closed');
  sent.add(data);
}