Skip to content

Commit bead78a

Browse files
committed
update startWith
1 parent 8a167fe commit bead78a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/streamx.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ extension StartWithExtension<T> on Stream<T> {
77
/// Prepends a value to the source [Stream].
88
Stream<T> startWith(T Function() seededProvider) {
99
final controller = StreamController<T>(sync: true);
10-
StreamSubscription subscription;
10+
StreamSubscription<T> subscription;
1111

1212
controller.onListen = () {
1313
controller.add(seededProvider());

0 commit comments

Comments
 (0)