port property

int get port

Port the server is listening on. Returns the actual port from the running server if available, otherwise returns the configured port.

Implementation

int get port => _actualPort ?? _port;