onRating property Null safety

dynamic Function(double) onRating
final

Implementation

final Function(double) onRating;