protocol property

String get protocol

Returns the hyperlink's URL's scheme.

Can be set, to change the URL's scheme.

MDN Reference

Implementation

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

Implementation

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