writeDataCharacteristic method

Future<void> writeDataCharacteristic(
  1. BluetoothCharacteristic characteristic,
  2. Uint8List data
)

Implementation

Future<void> writeDataCharacteristic(
    BluetoothCharacteristic characteristic, Uint8List data) async {
  await characteristic.write(data);
}