rating property Null safety

int rating
final

Implementation

final int rating;