CallbackObserver<State> class

Mixed-in types

Constructors

CallbackObserver.new([ObserverCallback<State>? callback])

Properties

callback ObserverCallback<State>?
The callback to be executed when a new state is notified by the subject.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(Subject<State> subject, State state) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(Subject<State> subject, State state) → void
This method is called whenever there is a change in the state of the Subject.
inherited

Operators

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