returnResult static method
Returns the result of a callback.
Implementation
static void returnResult(
Pointer<CallbackResult> result, JObjectPtr object) async {
// The result is `nullptr` when the callback is a listener.
if (result != nullptr) {
Jni._bindings.resultFor(result, object);
}
}