referrer property

String get referrer

Returns the referrer of request. Its value can be a same-origin URL if explicitly set in init, the empty string to indicate no referrer, and "about:client" when defaulting to the global's default. This is used during fetching to determine the value of the Referer header of the request being made.

MDN Reference

Implementation

_i2.String get referrer => _i4.getProperty(
      this,
      'referrer',
    );