hasHeart property
bool
hasHeart
Returns true if the rating is "heart selected" or false if the rating is "heart unselected", if the rating style is not RatingStyleMessage.heart or if it is unrated.
Implementation
bool get hasHeart {
if (type != RatingStyleMessage.heart) return false;
return value as bool? ?? false;
}