Notifier class

Constructors

Notifier()

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

attach(Function listener) Object
Attaches a function that will be executed when notify() is called.
attachOneShot(Function listener) Object
Attaches a function that will be executed when notify() is called. The listener is detached automatically on notify(), which invalidates the listener key after first invocation.
detach(Object key) → void
Detaches a listener function.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify() → void
Calls all attached listeners and detaches one-shot listeners after notifying.
toString() String
A string representation of this object.
inherited

Operators

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