discontinuedPackage shorebird has been discontinued.

port property

int get port

The port the server is listening on. It is only valid to call this after calling serve.

Implementation

int get port => server.port;