AppReview class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
getAppID
→ Future<
String?> -
Returns package name for application.
no setter
-
getiOSAppID
→ Future<
String?> -
Returns Apple ID for iOS application.
no setter
-
isRequestReviewAvailable
→ Future<
bool> -
Check if requestReview feature available.
no setter
-
requestReview
→ Future<
String?> -
Request review.
no setter
-
storeListing
→ Future<
String?> -
Navigates to Store Listing in Google Play/App Store.
no setter
-
writeReview
→ Future<
String?> -
Open store page with action write review.
no setter
Static Methods
-
getBundleName(
) → Future< String?> - Get app bundle name
-
getIosAppId(
{String? countryCode, String? bundleId}) → Future< String?> - Get app's AppStore ID (public app only)
-
getPackageInfo(
) → Future< PackageInfo?> - Lazyload package info instance
-
openAndroidReview(
) → Future< String?> - Require app review for Android
-
openAppStore(
{String? fallbackUrl}) → Future< String> - Open in AppStore
-
openGooglePlay(
{String? fallbackUrl}) → Future< String> - Open in GooglePlay
-
openIosReview(
{String? appId, bool compose = false}) → Future< String?> - Require app review for iOS
-
requestReviewDelayed(
[Duration? duration]) → Future< Timer> - Request review.
-
setCountryCode(
String code) → void - It would be great if I could add country code into AppStore lookup URL. Eg: AppReview.setCountryCode('jp');
Constants
- kDefaultDuration → const Duration