ReferrerPolicyToken enum

The ReferrerPolicyToken controls the Referrer-Policy header which can be set.

Inheritance
Available extensions

Values

noReferrer → const ReferrerPolicyToken

Will set the Referrer-Policy Header to: no-referrer

const ReferrerPolicyToken('no-referrer')
noReferrerWhenDowngrade → const ReferrerPolicyToken

Will set the Referrer-Policy Header to: no-referrer-when-downgrade

const ReferrerPolicyToken('no-referrer-when-downgrade')
sameOrigin → const ReferrerPolicyToken

Will set the Referrer-Policy Header to: same-origin

const ReferrerPolicyToken('same-origin')
origin → const ReferrerPolicyToken

Will set the Referrer-Policy Header to: origin

const ReferrerPolicyToken('origin')
strictOrigin → const ReferrerPolicyToken

Will set the Referrer-Policy Header to: strict-origin

const ReferrerPolicyToken('strict-origin')
originWhenCrossOrigin → const ReferrerPolicyToken

Will set the Referrer-Policy Header to: origin-when-cross-origin

const ReferrerPolicyToken('origin-when-cross-origin')
strictOriginWhenCrossOrigin → const ReferrerPolicyToken

Will set the Referrer-Policy Header to: strict-origin-when-cross-origin

const ReferrerPolicyToken('strict-origin-when-cross-origin')
unsafeUrl → const ReferrerPolicyToken

Will set the Referrer-Policy Header to: unsafe-url

const ReferrerPolicyToken('unsafe-url')
emptyString → const ReferrerPolicyToken

Will set the Referrer-Policy Header to: no-referrer-when-downgrade

const ReferrerPolicyToken('')

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
token String
final

Methods

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

Operators

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

Constants

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