BaseListenable mixin Reactivity

A mixin that provides functionality for listening..

This mixin implements the observer pattern, allowing components to be notified when data changes.

Mixin applications
  1. @protected

Properties

hashCode → int
The hash code for this object.
no setterinherited
hasListeners → bool
Returns true if there are any listeners registered
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(ListenableCallback listener) → void
Registers a listener to be called when any data changes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAllListeners() → void
Removes all registered listeners..
removeListener(ListenableCallback listener) → void
Removes a previously registered listener.
toString() → String
A string representation of this object.
inherited

Operators

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