port property

int get port

The port the hub is listening on (valid after start).

Implementation

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