GameProfileModel constructor

GameProfileModel({
  1. String? id,
  2. required String userId,
  3. String? companyId,
  4. int totalXp = 0,
  5. int level = 1,
  6. int currentLevelXp = 0,
  7. int xpToNextLevel = 100,
  8. int streak = 0,
  9. DateTime? lastActivityDate,
  10. DateTime? createdAt,
  11. DateTime? updatedAt,
})

Implementation

GameProfileModel({
  this.id,
  required this.userId,
  this.companyId,
  this.totalXp = 0,
  this.level = 1,
  this.currentLevelXp = 0,
  this.xpToNextLevel = 100,
  this.streak = 0,
  this.lastActivityDate,
  this.createdAt,
  this.updatedAt,
});