onFinish method
It's called after the memoized function has completed its execution, regardless of whether it was successful or encountered an error.
Implementation
@override
void onFinish(Memo<T, A> memo, A arg) {
_onFinish?.call(memo, arg);
}
It's called after the memoized function has completed its execution, regardless of whether it was successful or encountered an error.
@override
void onFinish(Memo<T, A> memo, A arg) {
_onFinish?.call(memo, arg);
}