ReferrerPolicy enum

The referring-policy used for the navigation.

Inheritance

Constructors

ReferrerPolicy(String value)
const
ReferrerPolicy.fromJson(String value)
factory

Values

noReferrer → const ReferrerPolicy
const ReferrerPolicy('noReferrer')
noReferrerWhenDowngrade → const ReferrerPolicy
const ReferrerPolicy('noReferrerWhenDowngrade')
origin → const ReferrerPolicy
const ReferrerPolicy('origin')
originWhenCrossOrigin → const ReferrerPolicy
const ReferrerPolicy('originWhenCrossOrigin')
sameOrigin → const ReferrerPolicy
const ReferrerPolicy('sameOrigin')
strictOrigin → const ReferrerPolicy
const ReferrerPolicy('strictOrigin')
strictOriginWhenCrossOrigin → const ReferrerPolicy
const ReferrerPolicy('strictOriginWhenCrossOrigin')
unsafeUrl → const ReferrerPolicy
const ReferrerPolicy('unsafeUrl')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ReferrerPolicy>
A constant List of the values in this enum, in order of their declaration.