hasPort property

  1. @override
bool hasPort
override

Whether the URI has an explicit port.

If the port number is the default port number (zero for unrecognized schemes, with http (80) and https (443) being recognized), then the port is made implicit and omitted from the URI.

Implementation

@override
bool get hasPort => _uri.hasPort;