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.

Inheritance
Available extensions

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

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
toJS String
no setter
value 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

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.