addPort method

void addPort(
  1. int port
)

Add single port

Implementation

void addPort(int port) => ports.add(port);