allPorts property

List<String> allPorts

A list of all available ports on the device.

Implementation

static List<String> get allPorts => SerialPort.availablePorts;