write method

  1. @override
Future<void> write({
  1. required Uint8List data,
})
override

Implementation

@override
Future<void> write({required Uint8List data}) async {
  await _getCharacteristic()
      .writeValue(data, type: BlueZGattCharacteristicWriteType.request);
}