appStoreUrl function

String appStoreUrl(
  1. String appId
)

Implementation

String appStoreUrl(String appId) {
  if (isOhos) {
    return Uri.https('appgallery.huawei.com', '/app/detail',
        {'id': appPackageName}).toString();
  }
  return isIOS
      ? "https://apps.apple.com/app/id$appId"
      : "https://play.google.com/store/apps/details?id=$appPackageName";
}