| Index: samples/third_party/todomvc/web/model.dart
|
| diff --git a/samples/third_party/todomvc/web/model.dart b/samples/third_party/todomvc/web/model.dart
|
| index d92cb334d2a7ec9d37eaf63c3e045a00d22c4e35..7bb52f5ce5528143a1f997010395525ed63657f0 100644
|
| --- a/samples/third_party/todomvc/web/model.dart
|
| +++ b/samples/third_party/todomvc/web/model.dart
|
| @@ -41,7 +41,7 @@ class AppModel {
|
| int get remaining => todos.length - doneCount;
|
|
|
| void clearDone() {
|
| - todos = todos.filter((t) => !t.done);
|
| + todos = todos.where((t) => !t.done).toList();
|
| }
|
| }
|
|
|
|
|