isConnected method

bool isConnected(
  1. String port
)

Whether the given port is connected.

Implementation

bool isConnected(String port) => devices.containsKey(port);