mirrored_repositories/Flutter-learning-process/todo_flutter/lib
class Task {
  final String name;
  bool isDone;

  Task({this.name, this.isDone = false});

  void toggleDone() {
    isDone = !isDone;
  }
}
