openStoreListing method

Future<void> openStoreListing({
  1. String? appStoreId,
  2. String? microsoftStoreId,
})

Opens the Play Store on Android, the App Store with a review screen on iOS & MacOS and the Microsoft Store on Windows.

appStoreId is required for iOS & MacOS.

microsoftStoreId is required for Windows.

Implementation

Future<void> openStoreListing({
  /// Required for iOS & MacOS.
  String? appStoreId,

  /// Required for Windows.
  String? microsoftStoreId,
}) =>
    InAppReviewPlatform.instance.openStoreListing(
      appStoreId: appStoreId,
      microsoftStoreId: microsoftStoreId,
    );