runEffect abstract method
Executes the effect when it is dirty or pending.
This method is called by the reactive system to run the effect when its dependencies change. Implementations should use defaultRunEffect to perform the execution in the proper reactive context.
Example:
@override
@protected
void runEffect() {
defaultRunEffect(this, _effectFn);
}
Implementation
@protected
void runEffect();