Update future.dart
Closes https://github.com/dart-lang/sdk/pull/61498 GitOrigin-RevId: 21aa5840b32a4d331a84b91d3741aba16d9e61f3 Change-Id: If1d3f6eefd2619eb7a9e13b00ff041011924c4b6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/449371 Commit-Queue: Slava Egorov <vegorov@google.com> Reviewed-by: Slava Egorov <vegorov@google.com>
This commit is contained in:
@@ -1012,7 +1012,7 @@ extension FutureExtensions<T> on Future<T> {
|
||||
/// If [test] is supplied, only catches errors of type [E]
|
||||
/// where [test] returns `true`.
|
||||
/// If [E] is [Object], then all errors are potentially caught,
|
||||
/// depending only on a supplied [test].toString()
|
||||
/// depending only on a supplied [test].
|
||||
///
|
||||
/// If the error is caught,
|
||||
/// the returned future completes with the result of calling [handleError]
|
||||
|
||||
Reference in New Issue
Block a user