RefenaCallbackObserver class
An observer where you can specify the behavior right in the constructor. This is useful for testing to avoid boilerplate code.
Constructors
- RefenaCallbackObserver({required void onEvent(RefenaEvent event)})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onEvent → void Function(RefenaEvent event)
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
handleEvent(
RefenaEvent event) → 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