ContestRanking constructor

const ContestRanking({
  1. required bool isPast,
  2. required List<ContestProblemInfo> questions,
  3. required List<ParticipantDetails> ranks,
  4. required List<Map<String, SubmissionInContest>> submissions,
  5. required double time,
  6. required int totalUser,
  7. required int totalPage,
})

Implementation

const factory ContestRanking({
  required bool isPast,
  required List<ContestProblemInfo> questions,
  required List<ParticipantDetails> ranks,
  required List<Map<String, SubmissionInContest>> submissions,
  required double time,
  required int totalUser,
  required int totalPage,
}) = _ContestRanking;