storeListing property Null safety

Future<String?> storeListing

Navigates to Store Listing in Google Play/App Store.

Returns string with details message.

Implementation

static Future<String?> get storeListing async {
  if (Platform.isIOS) {
    return openAppStore();
  }

  if (Platform.isAndroid) {
    return openGooglePlay();
  }

  return null;
}