port property

int? get port

Get the port the server is listening on. Returns null if the server is not listening.

Implementation

int? get port => _port;