MatchModel constructor

const MatchModel({
  1. required int id,
  2. required String label,
  3. required String table,
  4. required String time,
  5. required Player player1,
  6. required Player player2,
  7. required int score1,
  8. required int score2,
})

Implementation

const MatchModel({
  required this.id,
  required this.label,
  required this.table,
  required this.time,
  required this.player1,
  required this.player2,
  required this.score1,
  required this.score2,
});