flutter_zpl_printer_testing library
Test-only exports. Consumers import this instead of package:flutter_zpl_printer/flutter_zpl_printer.dart
when they need public test doubles (e.g. in widget or integration tests).
The classes here are intentionally public but not exported from the main barrel — they have no production use.
Classes
- FakeUsbPlatform
- In-memory UsbPlatform for tests.
- UsbDeviceRecord
-
One USB device returned by
UsbHostApi.enumerate. - UsbEnumerateFilter
-
Filter passed to
UsbHostApi.enumerate. - UsbOpenResult
-
Result of a successful
UsbHostApi.openForFficall. The Dart FFI layer takes over I/O from here. - UsbPlatform
- Abstract seam between high-level USB classes (UsbConnection, UsbDiscovery) and the concrete MethodChannel + FFI backend.