async.dart file reformat. (#122521)
Co-authored-by: Casey Hillers <chillers@google.com>
This commit is contained in:
parent
1541dd3f25
commit
1ab7b4616c
@ -637,12 +637,11 @@ class _FutureBuilderState<T> extends State<FutureBuilder<T>> {
|
||||
});
|
||||
}
|
||||
assert(() {
|
||||
if(FutureBuilder.debugRethrowError) {
|
||||
if (FutureBuilder.debugRethrowError) {
|
||||
Future<Object>.error(error, stackTrace);
|
||||
}
|
||||
return true;
|
||||
}());
|
||||
|
||||
});
|
||||
// An implementation like `SynchronousFuture` may have already called the
|
||||
// .then closure. Do not overwrite it in that case.
|
||||
|
Loading…
x
Reference in New Issue
Block a user