Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

Commit c0985d1

Browse files
authored
Cast use of StreamSubscription.cancel result through dynamic (#105)
1 parent 60390e2 commit c0985d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/subscription_stream_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void main() {
6565
subscription.resume();
6666
expect(controller.isPaused, isFalse);
6767

68-
expect(await subscription.cancel(), 42);
68+
expect(await subscription.cancel() as dynamic, 42);
6969
expect(controller.hasListener, isFalse);
7070
});
7171

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy