tryPort method

Logic? tryPort(
  1. String name
)

Provides the port named name if it exists, otherwise null.

Implementation

Logic? tryPort(String name) => _ports[name];