onCompute method
Callback invoked when the computation completes.
Exactly one of value or error will be non-null.
If error is non-null, stackTrace contains the associated stack trace.
Implementation
void onCompute(V? value, Object? error, StackTrace? stackTrace) {}