isThumbUp property
bool
isThumbUp
Returns true if the rating is "thumb up" or false if the rating is "thumb down", if the rating style is not RatingStyleMessage.thumbUpDown or if it is unrated.
Implementation
bool get isThumbUp {
if (type != RatingStyleMessage.thumbUpDown) return false;
return value as bool? ?? false;
}