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