Index: utils/pub/error_group.dart |
diff --git a/utils/pub/error_group.dart b/utils/pub/error_group.dart |
index a9f78617f7be0b9d7e1c5ecee3f4fa568c9ec11e..dec45b1abb2ee963c38b707f66ee060394d6629d 100644 |
--- a/utils/pub/error_group.dart |
+++ b/utils/pub/error_group.dart |
@@ -179,7 +179,7 @@ class _ErrorGroupFuture implements Future { |
_completer.future.catchError((_) {}); |
} |
- Future then(onValue(T value), {onError(AsyncError asyncError)}) { |
+ Future then(onValue(value), {onError(AsyncError asyncError)}) { |
_hasListeners = true; |
return _completer.future.then(onValue, onError: onError); |
} |
@@ -194,7 +194,7 @@ class _ErrorGroupFuture implements Future { |
return _completer.future.whenComplete(action); |
} |
- Stream<T> asStream() { |
+ Stream asStream() { |
_hasListeners = true; |
return _completer.future.asStream(); |
} |