RefenaMultiObserver class

The observer to use multiple observers at once.

Inheritance

Constructors

RefenaMultiObserver({required List<RefenaObserver> observers})

Properties

debugLabel → String
Override this getter to provide a custom label.
no setterinherited
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 setterinherited
observers → List<RefenaObserver>
final
ref → Ref
Use the ref to access the state.
no setterinherited
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.
override
handleEvent(RefenaEvent event) → void
Called when an event occurs. Override this method to handle the event.
override
init() → void
Override this method to have additional initialization logic. You can use ref at this point.
override
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