port property

int get port

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

Implementation

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