menu
chrome_extension package
documentation
cookies.dart
CookiePartitionKey class
CookiePartitionKey class
dark_mode
light_mode
CookiePartitionKey
class
Constructors
CookiePartitionKey
({
String
?
topLevelSite
,
bool
?
hasCrossSiteAncestor
})
CookiePartitionKey.fromJS
(
CookiePartitionKey
_wrapped
)
Properties
hasCrossSiteAncestor
↔
bool
?
Indicates if the cookie was set in a cross-cross site context. This prevents a top-level site embedded in a cross-site context from accessing cookies set by the top-level site in a same-site context.
getter/setter pair
hashCode
→
int
The hash code for this object.
no setter
inherited
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
toJS
→ CookiePartitionKey
no setter
topLevelSite
↔
String
?
The top-level site the partitioned cookie is available in.
getter/setter pair
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
chrome_extension package
documentation
cookies
CookiePartitionKey class
cookies library