boundPort property

int get boundPort

The bound port (valid after start).

Implementation

int get boundPort => _server?.port ?? port;