CookieOptions class final
A class to encapsulate the options for a cookie
Constructors
Properties
- domain → String?
-
The domain of the cookie
final
- expires → DateTime?
-
The expiry of the cookie
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpOnly → bool
-
Whether the cookie is http only
final
- maxAge → int?
-
The max age of the cookie
final
- path → String
-
The path of the cookie
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sameSite → SameSite?
-
The SameSite attribute of the cookie
final
- secure → bool
-
Whether the cookie is secure
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