We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a167fe commit bead78aCopy full SHA for bead78a
lib/src/streamx.dart
@@ -7,7 +7,7 @@ extension StartWithExtension<T> on Stream<T> {
7
/// Prepends a value to the source [Stream].
8
Stream<T> startWith(T Function() seededProvider) {
9
final controller = StreamController<T>(sync: true);
10
- StreamSubscription subscription;
+ StreamSubscription<T> subscription;
11
12
controller.onListen = () {
13
controller.add(seededProvider());
0 commit comments