SurveyMatching constructor

const SurveyMatching({
  1. required String id,
  2. required String title,
  3. @Default('') String description,
  4. required List<Object> questions,
  5. required List<List<Object>> sideA,
  6. required List<List<Object>> sideB,
  7. @Default([]) List<Map<int, int>> answers,
})

Implementation

const factory SurveyMatching({
  required String id,
  required String title,
  @Default('') String description,
  required List<Object> questions,
  required List<List<Object>> sideA,
  required List<List<Object>> sideB,
  @Default([]) List<Map<int, int>> answers,
}) = _SurveyMatching;