Rating

fun Rating(    totalRatings: Int,     value: Double,     minValue: Double,     maxValue: Double)

Parameters

totalRatings

Total number of ratings.

value

Rating value, between min/max values inclusive.

minValue

Min value of the rating.

maxValue

Max value of the rating.