requestReview method Null safety

Future<void> requestReview()

Attempts to show the review dialog. It's recommended to first check if the device supports this feature via isAvailable.

To improve the users experience, IOS and Android enforce limitations that might prevent this from working after a few tries. IOS & MacOS users can also disable this feature entirely in the App Store settings.

More info and guidance: https://developer.android.com/guide/playcore/in-app-review#when-to-request https://developer.apple.com/design/human-interface-guidelines/ios/system-capabilities/ratings-and-reviews/ https://developer.apple.com/design/human-interface-guidelines/macos/system-capabilities/ratings-and-reviews/

Implementation

Future<void> requestReview() => InAppReviewPlatform.instance.requestReview();