Contest constructor

const Contest({
  1. required Company company,
  2. required bool containsPremium,
  3. required ContestMeta contestMeta,
  4. required List<ContestProblemInfo> contestProblemInfo,
  5. required bool registered,
})

Implementation

const factory Contest({
  required Company company,
  required bool containsPremium,
  required ContestMeta contestMeta,
  required List<ContestProblemInfo> contestProblemInfo,
  required bool registered,
}) = _Contest;