Perfume constructor
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,Object> > - required List<
Note> topNotes, - required List<
Note> middleNotes, - required List<
Note> baseNotes, - 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;