callback<T> method
Used to assign effect functions that will react to the reactivity of the declared rxNotifier, similar to the rxObserver function.
Implementation
void callback<T>(
T Function() selectFunc,
void Function(T? value) effectFunc, {
bool Function()? filter,
}) {
return RxRoot._callback(this, selectFunc, effectFunc, filter: filter);
}