Rating.newHeartRating constructor
const
Rating.newHeartRating(
- bool hasHeart
Creates a new heart rating.
Implementation
const Rating.newHeartRating(bool hasHeart)
: this._(RatingStyle.heart, hasHeart);