host property
String
host
A string containing the domain (that is the hostname) followed by (if a port was specified) a ':' and the port of the URL.
Implementation
String get host => _uri.host;
Implementation
set host(String value) => _uri = _uri.replace(host: value);