protocol property

String get protocol

Returns the Location object's URL's scheme.

Cannot be set in Deno.

Implementation

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

Implementation

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