openStore static method

Future<bool> openStore({
  1. UAppStore store = UAppStore.auto,
  2. String? appId,
  3. bool review = false,
})

Implementation

static Future<bool> openStore({UAppStore store = UAppStore.auto, String? appId, bool review = false}) async {
  if (kIsWeb) {
    final String? url = _storeWebUrl(store, appId);
    return url != null && await ULaunchWeb.open(url, "_blank");
  }
  return await _call<bool>("openStore", <String, Object?>{"store": store.name, "appId": appId, "review": review}) ?? false;
}