Skip to content

Commit

Permalink
Update small detail on README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sunarya-thito committed Oct 25, 2024
1 parent 75cfea0 commit 99ef2c9
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 @@ -206,7 +206,7 @@ list.mutate((value) {

You can also decide whether to notify the listeners or not.
```dart
MutableNotifier<Set<int>> set = MutableNotifier({1, 2, 3});
MutableNotifier<List<int>> set = MutableNotifier([1, 2, 3]);
set.mutate((value) {
if (!value.contains(4)) {
value.add(4);
Expand Down

0 comments on commit 99ef2c9

Please sign in to comment.