catchAsyncError method
Catch it if the initAsync() throws an error The FutureBuilder will fail, but you can examine the error
Implementation
void catchAsyncError(Object error) {}
Catch it if the initAsync() throws an error The FutureBuilder will fail, but you can examine the error
void catchAsyncError(Object error) {}