Todo constructor

Todo({
  1. required String task,
  2. bool isCompleted = false,
})

Implementation

Todo({required this.task, this.isCompleted = false});