HTTPCookieSameSitePolicy class Null safety
Class that represents the same site policy of a cookie. Used by the Cookie class.
Properties
- hashCode → int
-
The hash code for this object.
read-only, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
toValue(
) → String
Operators
-
operator ==(
Object value) → bool -
The equality operator.
override
Static Properties
-
values
→ Set<
HTTPCookieSameSitePolicy> -
final
Static Methods
-
fromValue(
String? value) → HTTPCookieSameSitePolicy?
Constants
- LAX → const HTTPCookieSameSitePolicy
-
SameSite=Lax;
const HTTPCookieSameSitePolicy._internal("Lax")
- NONE → const HTTPCookieSameSitePolicy
-
SameSite=None;
const HTTPCookieSameSitePolicy._internal("None")
- STRICT → const HTTPCookieSameSitePolicy
-
SameSite=Strict;
const HTTPCookieSameSitePolicy._internal("Strict")