Skip to content

Commit 54f2338

Browse files
committed
♻️ Refactoring common.dart: unnecessary assert
1 parent a51b7c4 commit 54f2338

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/src/common.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Stream<R> toStreamWithTransform<T extends Listenable, R>(
1212
VoidCallback? listener;
1313

1414
controller.onListen = () {
15-
assert(listener == null);
1615
try {
1716
final l = () => controller.add(transform(listenable));
1817
listenable.addListener(l);

0 commit comments

Comments
 (0)