clear static method
Removes every key owned by the SDK.
Implementation
static Future<void> clear() async {
final Box<dynamic>? box = await ensureInitialized();
if (box == null) return;
await box.deleteAll(<String>[
PrinterStorageKeys.bluetoothMac,
PrinterStorageKeys.bluetoothName,
PrinterStorageKeys.usbVendorId,
PrinterStorageKeys.usbProductId,
PrinterStorageKeys.usbPrinterName,
PrinterStorageKeys.paperSize,
PrinterStorageKeys.connectionType,
]);
revision.value++;
}