AchievementSchema constructor
AchievementSchema({
- required String name,
- required String code,
- required String description,
- required int points,
- required AchievementType type,
- required String? target,
- required int total,
- required AchievementRewardsSchema rewards,
Returns a new AchievementSchema instance.
Implementation
AchievementSchema({
required this.name,
required this.code,
required this.description,
required this.points,
required this.type,
required this.target,
required this.total,
required this.rewards,
});