isOpen property

bool isOpen

Whether the port is open (ie, the device is connected).

Implementation

bool get isOpen => _port.isOpen;