referrerPolicy property

ReferrerPolicy? get referrerPolicy

A referrer policy to set request's referrerPolicy.

Implementation

_i3.ReferrerPolicy? get referrerPolicy => switch (_i4.getProperty(
      this,
      'referrerPolicy',
    )) {
      _i2.String name => _i3.ReferrerPolicyOptions.values.byName(name),
      _ => null
    };
set referrerPolicy (ReferrerPolicy? value)

Implementation

set referrerPolicy(_i3.ReferrerPolicy? value) {
  _i4.setProperty(
    this,
    'referrerPolicy',
    value?.name ?? _i6.undefined ?? _i6.undefined,
  );
}