onAsyncError method

void onAsyncError(
  1. FlutterErrorDetails details
)

Supply an 'error handler' routine if something goes wrong in the corresponding runAsync() or initAsync() routine.

Implementation

void onAsyncError(FlutterErrorDetails details) {}