Submission constructor

const Submission({
  1. required String id,
  2. required String title,
  3. @Default('') String description,
  4. @Default(null) Object? answer,
})

Implementation

const factory Submission({
  required String id,
  required String title,
  @Default('') String description,
  @Default(null) Object? answer,
}) = _Submission;