BaseAchievementSchema constructor

BaseAchievementSchema({
  1. required String name,
  2. required String code,
  3. required String description,
  4. required int points,
  5. required BaseAchievementSchemaTypeEnum type,
  6. required String? target,
  7. required int total,
})

Returns a new BaseAchievementSchema instance.

Implementation

BaseAchievementSchema({
  required this.name,
  required this.code,
  required this.description,
  required this.points,
  required this.type,
  required this.target,
  required this.total,
});