ACourse constructor

ACourse({
  1. int? id,
  2. required String title,
  3. required String period,
  4. required String description,
  5. required int price,
  6. List<CourseOption> options = const [],
})

Returns a new ACourse instance.

Implementation

ACourse({
  this.id,
  required this.title,
  required this.period,
  required this.description,
  required this.price,
  this.options = const [],
});