fullStars method

int fullStars()

Implementation

int fullStars() {
  if (value != null) {
    return (value! / (widget.maxRating / widget.count)).floor();
  }
  return 0;
}