Rating.newThumbRating constructor Null safety

const Rating.newThumbRating(
  1. bool isThumbsUp
)

Creates a new thumb rating.

Implementation

const Rating.newThumbRating(bool isThumbsUp)
    : this._(RatingStyle.thumbUpDown, isThumbsUp);