isThumbUp method
Returns true if the rating is "thumb up" or false if the rating is "thumb down", if the rating style is not RatingStyle.thumbUpDown or if it is unrated.
Implementation
bool isThumbUp() {
if (_type != RatingStyle.thumbUpDown) return false;
return _value as bool? ?? false;
}