onAsyncError method
initAsync() has failed and a 'error' widget instead will be displayed. This takes in the snapshot.error details.
Implementation
@override
void onAsyncError(FlutterErrorDetails details) {
// Optionally call super for debugPrint()
assert(() {
if (_debugPrintEvents) {
debugPrint('$_consoleLeadingLine onAsyncError() in $_consoleClassName');
}
return true;
}());
}