Notifier class
Properties
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
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