Skip to content

Commit

Permalink
Updated README.md to reflect implicit dynamic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ikurek committed Apr 22, 2022
1 parent e54717b commit 313122f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ However, using a neat little workaround will fix this...
Instead of `await subscriptionToBeCancelled.cancel();`, use

```dart
Future.delayed(Duration.zero, () {
Future<void>.delayed(Duration.zero, () {
subscriptionToBeCancelled.cancel();
});
```
Expand Down

0 comments on commit 313122f

Please sign in to comment.