ProblemList constructor

const ProblemList({
  1. required int total,
  2. @JsonKey(name: 'questions') required List<Problem> problems,
})

Implementation

const factory ProblemList({
  required int total,
  @JsonKey(name: 'questions') required List<Problem> problems,
}) = _ProblemList;