RefenaTracingObserver class

A more sophisticated version of RefenaHistoryObserver. This should be used in combination with RefenaTracingPage.

Inheritance

Constructors

RefenaTracingObserver({int limit = 100, bool exclude(RefenaEvent event)?})

Properties

debugLabel String
Override this getter to provide a custom label.
no setterinherited
exclude → (bool Function(RefenaEvent event)?)
If the given function returns true, then the event won't be logged.
final
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
limit int
The maximum number of events to store. When the limit is reached, the oldest event will be removed.
final
listeners List<void Function(RefenaEvent event)>
Additional listeners. For example, the RefenaInspectorObserver uses this to send the (filtered) events to the inspector.
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.
inherited
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
internalSetup(ProxyRef ref) → 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

Operators

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