TaskViewModel constructor

TaskViewModel({
  1. int? id,
  2. String? title,
  3. String? description,
  4. TaskState? state,
  5. double? distance,
  6. DateTime? createdAt,
  7. DateTime? updatedAt,
  8. List<double>? location,
  9. String? locationName,
  10. List<CategoryViewModel>? categories,
  11. TaskType? type,
  12. TaskFrequency? frequency,
  13. UserViewModel? user,
  14. UserViewModel? assignee,
  15. DateTime? idealDate,
  16. TaskIdealDateCompletionWhen? idealDateCompletion,
  17. bool? isInterested,
})

Implementation

TaskViewModel({
  this.id,
  this.title,
  this.description,
  this.state,
  this.distance,
  this.createdAt,
  this.updatedAt,
  this.location,
  this.locationName,
  this.categories,
  this.type,
  this.frequency,
  this.user,
  this.assignee,
  this.idealDate,
  this.idealDateCompletion,
  this.isInterested,
});