universal_serial library

The primary entry point exposing the abstract SerialManager and dynamic platform resolution via conditional exports.

Classes

AndroidSerialManager
Native serial manager implementation specifically tailored for usb_serial acting as an OTG connector.
DesktopSerialManager
Native serial manager implementation spanning Windows, Mac, and Linux leveraging flutter_libserialport.
DeviceEvent
Represents a physical plug/unplug event on the host machine.
SerialManager
The shared architectural interface for Universal Serial. Inherit this class to build new OS abstractions.

Enums

DeviceEventType
Enumerates the type of physical device event occurring on a serial bus.