async.dart file reformat. (#122521)

Co-authored-by: Casey Hillers <chillers@google.com>
This commit is contained in:
Cc 2023-03-17 11:16:54 +08:00 committed by GitHub
parent 1541dd3f25
commit 1ab7b4616c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -637,12 +637,11 @@ class _FutureBuilderState<T> extends State<FutureBuilder<T>> {
}); });
} }
assert(() { assert(() {
if(FutureBuilder.debugRethrowError) { if (FutureBuilder.debugRethrowError) {
Future<Object>.error(error, stackTrace); Future<Object>.error(error, stackTrace);
} }
return true; return true;
}()); }());
}); });
// An implementation like `SynchronousFuture` may have already called the // An implementation like `SynchronousFuture` may have already called the
// .then closure. Do not overwrite it in that case. // .then closure. Do not overwrite it in that case.