Rating.newHeartRating constructor

const Rating.newHeartRating(
  1. bool hasHeart
)

Creates a new heart rating.

Implementation

const Rating.newHeartRating(bool hasHeart)
    : this._(RatingStyle.heart, hasHeart);