RefenaObserver class abstract
The observer receives every RefenaEvent. It is up to the implementation of how to use it.
- Implemented types
Constructors
Properties
- debugLabel → String
-
Override this getter to provide a custom label.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialized → bool
-
Whether the observer has been initialized.
The observer won't receive any events until it is initialized.
no setter
- ref → Ref
-
Use the ref to access the state.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Override this method to have additional dispose logic. Observers only get disposed when the RefenaContainer is disposed.
-
handleEvent(
RefenaEvent event) → void - Called when an event occurs. Override this method to handle the event.
-
init(
) → void - Override this method to have additional initialization logic. You can use ref at this point.
-
internalSetup(
ProxyRef ref) → void -
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