Selection constructor

Selection({
  1. int? selectionId,
  2. required String name,
  3. String? description,
  4. required String imageFile,
  5. required TimeOfDay? timeOfDay,
  6. String? duration,
  7. double? rating,
  8. int? ratingCount,
  9. bool? random,
  10. int? views,
  11. DateTime? createDate,
  12. DateTime? changeDate,
  13. List<TrackSelection>? trackSelections = const [],
  14. List<CompanyTypeSelection>? companyTypeSelections = const [],
  15. List<GenreSelection>? genreSelections = const [],
})

Returns a new Selection instance.

Implementation

Selection({
  this.selectionId,
  required this.name,
  this.description,
  required this.imageFile,
  required this.timeOfDay,
  this.duration,
  this.rating,
  this.ratingCount,
  this.random,
  this.views,
  this.createDate,
  this.changeDate,
  this.trackSelections = const [],
  this.companyTypeSelections = const [],
  this.genreSelections = const [],
});