SameSite class - dart:io library (original) (raw)
Cookie cross-site availability configuration.
The value of Cookie.sameSite, which defines whether an HTTP cookie is available from other sites or not.
Has three possible values: lax, strict and none.
Properties
The hash code for this object.
no setterinherited
final
A representation of the runtime type of the object.
no setterinherited
Methods
noSuchMethod(Invocation invocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
A string representation of this object.
override
Operators
operator ==(Object other)→ bool
The equality operator.
inherited
Constants
Default value, cookie with this value will generally not be sent on cross-site requests, unless the user is navigated to the original site.
Cookie with this value will be sent in all requests.
Cookie with this value will never be sent on cross-site requests.