Group constructor

Group({
  1. List<Content>? contents,
  2. List<Credit>? credits,
  3. Category? category,
  4. Rating? rating,
  5. Thumbnail? thumbnail,
  6. Title? title,
  7. Description? description,
})

Constructor for the Group class.

The constructor initializes a Group object with optional named parameters:

  • contents: List of Content objects representing media contents.
  • credits: List of Credit objects representing media credits.
  • category: Category object representing the media category.
  • rating: Rating object representing the media rating.
  • thumbnail: Thumbnail object representing the media thumbnail.
  • title: Title object representing the media title.
  • description: Description object representing the media description.

Implementation

Group({
  this.contents,
  this.credits,
  this.category,
  this.rating,
  this.thumbnail,
  this.title,
  this.description,
});