Community constructor

Community({
  1. StarRating? starRating,
  2. Statistics? statistics,
  3. Tags? tags,
})

Constructor for the Community class.

The constructor initializes a Community object with optional named parameters:

  • starRating: The star rating associated with the media content.
  • statistics: Statistics related to the media content.
  • tags: Tags associated with the media content.

All parameters are optional and can be set to null if not provided.

Implementation

Community({
  this.starRating,
  this.statistics,
  this.tags,
});