AccountAchievementSchema constructor

AccountAchievementSchema({
  1. required String name,
  2. required String code,
  3. required String description,
  4. required int points,
  5. required AchievementType type,
  6. String? target,
  7. required int total,
  8. required AchievementRewardsSchema rewards,
  9. required int current,
  10. DateTime? completedAt,
})

Returns a new AccountAchievementSchema instance.

Implementation

AccountAchievementSchema({
  required this.name,
  required this.code,
  required this.description,
  required this.points,
  required this.type,
  this.target,
  required this.total,
  required this.rewards,
  required this.current,
  this.completedAt,
});