Task constructor

Task({
  1. required String title,
  2. bool isCompleted = false,
})

Implementation

Task({required this.title, this.isCompleted = false});