port property

  1. @override
int port
override

The port part of the authority component.

The value is the default port if there is no port number in the authority component. That's 80 for http, 443 for https, and 0 for everything else.

Implementation

@override
int get port => _uri.port;