CookieEvents class

Central event bus for all cookie activity. Screens and providers can listen to any stream here.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
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
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

onCookieChanged → Stream<CookieChangedEvent>
Fires when any cookie is set or updated.
no setter
onCookiesCleared → Stream<CookiesClearedEvent>
Fires when all cookies for a domain are cleared.
no setter

Static Methods

dispose() → Future<void>
emitChanged(CookieChangedEvent event) → void
emitCleared(CookiesClearedEvent event) → void
onCookieSet(String name) → Stream<CookieChangedEvent>
Fires only when a specific named cookie changes.