onAsyncError method
Supply an 'error handler' routine if something goes wrong in the corresponding initAsync() routine.
Implementation
@override
bool onAsyncError(FlutterErrorDetails details) {
bool handled;
try {
handled = con?.onAsyncError(details) ?? false;
if (!handled && inAsyncError != null) {
handled = inAsyncError!(details);
}
} catch (ex) {
handled = false;
}
return handled;
}