Perfume constructor

Perfume({
  1. required String producer,
  2. required String id,
  3. required List<Rating> ratings,
  4. required List<SmileyRating> smileyRatings,
  5. required List<Accord> accords,
  6. required String description,
  7. required String quote,
  8. required List<ProOrCon> pros,
  9. required List<ProOrCon> cons,
  10. required List<ImageProvider<Object>> images,
  11. required List<Note> topNotes,
  12. required List<Note> middleNotes,
  13. required List<Note> baseNotes,
  14. required List<RatingCategory> ratingCategories,
})

Implementation

factory Perfume(
    {required String producer,
    required String id,
    required List<Rating> ratings,
    required List<SmileyRating> smileyRatings,
    required List<Accord> accords,
    required String description,
    required String quote,
    required List<ProOrCon> pros,
    required List<ProOrCon> cons,
    required List<ImageProvider> images,
    required List<Note> topNotes,
    required List<Note> middleNotes,
    required List<Note> baseNotes,
    required List<RatingCategory> ratingCategories}) = _Perfume;