toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
      'title': title.toJson(),
      'tasks': tasks.map((item) => item.toJson()).toList(),
      'others_can_add_tasks': othersCanAddTasks,
      'others_can_mark_tasks_as_done': othersCanMarkTasksAsDone,
      '@type': constructor,
    };