OnChangedCause enum
The underlying reason behind the cookie's change. If a cookie was inserted, or removed via an explicit call to "chrome.cookies.remove", "cause" will be "explicit". If a cookie was automatically removed due to expiry, "cause" will be "expired". If a cookie was removed due to being overwritten with an already-expired expiration date, "cause" will be set to "expired_overwrite". If a cookie was automatically removed due to garbage collection, "cause" will be "evicted". If a cookie was automatically removed due to a "set" call that overwrote it, "cause" will be "overwrite". Plan your response accordingly.
Values
- evicted → const OnChangedCause
-
const OnChangedCause('evicted')
- expired → const OnChangedCause
-
const OnChangedCause('expired')
- explicit → const OnChangedCause
-
const OnChangedCause('explicit')
- expiredOverwrite → const OnChangedCause
-
const OnChangedCause('expired_overwrite')
- overwrite → const OnChangedCause
-
const OnChangedCause('overwrite')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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) → OnChangedCause
Constants
-
values
→ const List<
OnChangedCause> - A constant List of the values in this enum, in order of their declaration.