openStoreListing method Null safety

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,
    );