catchAsyncError method

void catchAsyncError(
  1. Object error
)
inherited

Catch it if the initAsync() throws an error The FutureBuilder will fail, but you can examine the error

Implementation

void catchAsyncError(Object error) {}