setRating method Null safety

Future<void> setRating(
  1. Rating rating,
  2. [Map<String, dynamic>? extras]
)

Set the rating.

Implementation

Future<void> setRating(Rating rating, [Map<String, dynamic>? extras]);