hostname property

String get hostname

Returns the Location object's URL's host.

Cannot be set in Deno.

Implementation

_i2.String get hostname => _i4.getProperty(
      this,
      'hostname',
    );
set hostname (String value)

Implementation

set hostname(_i2.String value) {
  _i4.setProperty(
    this,
    'hostname',
    value,
  );
}