port property

String get port

Returns the Location object's URL's port.

Can be set, to navigate to the same URL with a changed port.

MDN Reference

Implementation

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

Implementation

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