SameSiteStatus enum
A cookie's 'SameSite' state (https://tools.ietf.org/html/draft-west-first-party-cookies). 'no_restriction' corresponds to a cookie set with 'SameSite=None', 'lax' to 'SameSite=Lax', and 'strict' to 'SameSite=Strict'. 'unspecified' corresponds to a cookie set without the SameSite attribute.
Values
- noRestriction → const SameSiteStatus
-
const SameSiteStatus('no_restriction')
- lax → const SameSiteStatus
-
const SameSiteStatus('lax')
- strict → const SameSiteStatus
-
const SameSiteStatus('strict')
- unspecified → const SameSiteStatus
-
const SameSiteStatus('unspecified')
Properties
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
Static Methods
-
fromJS(
String value) → SameSiteStatus
Constants
-
values
→ const List<
SameSiteStatus> - A constant List of the values in this enum, in order of their declaration.