host property

  1. @override
String host
override

The host part of the authority component.

The value is the empty string if there is no authority component and hence no host.

If the host is an IP version 6 address, the surrounding [ and ] is removed.

The host string is case-insensitive. The returned host name is canonicalized to lower-case with upper-case percent-escapes.

Implementation

@override
String get host => _uri.host;