onDataReceived property

Stream<DataEvent> get onDataReceived

Stream of data received from the connected BLE device

Returns a stream of DataEvent objects containing received data

Implementation

static Stream<DataEvent> get onDataReceived {
  return BluetoothConnectionPluginPlatform.instance.onDataReceived;
}