DailyTaskModel constructor
DailyTaskModel({
- String? id,
- required String taskKey,
- required String name,
- String? description,
- required DailyTaskCriteriaType criteriaType,
- required int criteriaValue,
- required int xpReward,
- bool isActive = true,
- int currentProgress = 0,
- bool isCompleted = false,
- bool isClaimed = false,
- DateTime? completedAt,
- DateTime? createdAt,
Implementation
DailyTaskModel({
this.id,
required this.taskKey,
required this.name,
this.description,
required this.criteriaType,
required this.criteriaValue,
required this.xpReward,
this.isActive = true,
this.currentProgress = 0,
this.isCompleted = false,
this.isClaimed = false,
this.completedAt,
this.createdAt,
});