TaskViewModel constructor
TaskViewModel({
- int? id,
- String? title,
- String? description,
- TaskState? state,
- double? distance,
- DateTime? createdAt,
- DateTime? updatedAt,
- List<
double> ? location, - String? locationName,
- List<
CategoryViewModel> ? categories, - TaskType? type,
- TaskFrequency? frequency,
- UserViewModel? user,
- UserViewModel? assignee,
- DateTime? idealDate,
- TaskIdealDateCompletionWhen? idealDateCompletion,
- 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,
});