openAppReview static method
Implementation
static Future<void> openAppReview({
String defaultUrl = '',
}) async {
final InAppReview inAppReview = InAppReview.instance;
if (!kIsWeb &&
(Platform.isAndroid || Platform.isIOS || Platform.isMacOS) &&
(await inAppReview.isAvailable())) {
inAppReview.requestReview();
} else {
launchUrl(defaultUrl);
}
}