platform/packages/rethink/test/common.dart
Tobe O 61c716502b Add 'packages/rethink/' from commit '6cc85e04095bf1665bf18d1f626930f0e61c0cb2'
git-subtree-dir: packages/rethink
git-subtree-mainline: ed10592b5d
git-subtree-split: 6cc85e0409
2020-02-15 18:57:27 -05:00

10 lines
178 B
Dart

class Todo {
String title;
bool completed;
Todo({this.title, this.completed: false});
Map toJson() {
return {'title': title, 'completed': completed == true};
}
}