writeValue method

Future<void> writeValue(
  1. String service,
  2. String characteristic,
  3. Uint8List value, {
  4. bool withoutResponse = true,
})

Implementation

Future<void> writeValue(
    String service, String characteristic, Uint8List value,
    {bool withoutResponse = true}) {
  return FlutterBluePlus.writeValue(
      deviceId,
      service,
      characteristic,
      value,
      withoutResponse
          ? BleOutputProperty.withoutResponse
          : BleOutputProperty.withResponse);
}