host property
String hostReturns the host part of the authority component.
Returns 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.
Source
String get host;
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-core/Uri/host.html