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.

MDN reference

Implementation

String get host => _uri.host;
void host=(String value)

Implementation

set host(String value) => _uri = _uri.replace(host: value);