RatingCallback typedef Null safety

RatingCallback = void Function(double? rating)

callback for ratting changed value

Implementation

typedef void RatingCallback(double? rating);