Skip to content

Commit

Permalink
style: remove unnecessary null aware operator
Browse files Browse the repository at this point in the history
  • Loading branch information
rbellens committed Feb 26, 2024
1 parent 5bcb261 commit 5b08a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/stream_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ void main() async {
['https://avatars.com/john-doe.png'],
]).toSnapshots();

var l = await stream.asList<Uri>()!.toList();
var l = await stream.asList<Uri>().toList();

expect(l, [
[Uri.parse('https://avatars.com/jane-doe.png')],
Expand Down

0 comments on commit 5b08a23

Please sign in to comment.