StarRating constructor

const StarRating({
  1. double average = 0,
  2. int count = 0,
  3. int min = 0,
  4. int max = 0,
})

Implementation

const StarRating({
  this.average = 0,
  this.count = 0,
  this.min = 0,
  this.max = 0,
});