RaidSchema constructor

RaidSchema({
  1. required String code,
  2. required String name,
  3. String? description,
  4. required String monster,
  5. required RaidScheduleSchema schedule,
  6. RaidRewardsSchema? rewards,
  7. required RaidStatus status,
  8. required DateTime nextStartAt,
  9. int participantCount = 0,
  10. RaidInstanceSchema? activeInstance,
  11. RaidInstanceSchema? latestInstance,
})

Returns a new RaidSchema instance.

Implementation

RaidSchema({
  required this.code,
  required this.name,
  this.description,
  required this.monster,
  required this.schedule,
  this.rewards,
  required this.status,
  required this.nextStartAt,
  this.participantCount = 0,
  this.activeInstance,
  this.latestInstance,
});