MatchModel<P> constructor

const MatchModel<P>({
  1. required int id,
  2. required String label,
  3. required String table,
  4. required String time,
  5. required List<P> competitors,
  6. required List<int> scores,
  7. MatchStatus status = MatchStatus.scheduled,
})

Implementation

const MatchModel({
  required this.id,
  required this.label,
  required this.table,
  required this.time,
  required this.competitors,
  required this.scores,
  this.status = MatchStatus.scheduled,
});