UpdaterHelper class

Constructors

UpdaterHelper({bool debugDisplayAlways = false, bool debugDisplayOnce = false, WillDisplayUpgradeCallback? willDisplayUpgrade, String? countryCode, String? languageCode, String? minAppVersion, Client? client, UpdateSystem? updateSystem, Duration durationUntilAlertAgain = const Duration(days: 2)})

Properties

client → Client
final
countryCode String?
final
currentAppStoreListingURL String?
no setter
currentAppStoreVersion String?
no setter
currentInstalledVersion String?
no setter
debugDisplayAlways bool
getter/setter pair
debugDisplayOnce bool
getter/setter pair
durationUntilAlertAgain Duration
final
evaluationReady bool
no setter
hashCode int
The hash code for this object.
no setterinherited
languageCode String?
final
minAppVersion String?
getter/setter pair
releaseNotes String?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateSystem UpdateSystem
final
willDisplayUpgrade WillDisplayUpgradeCallback?
getter/setter pair

Methods

alreadyIgnoredThisVersion() bool
appName() String
belowMinAppVersion() bool
blocked() bool
findCountryCode({BuildContext? context}) String?
findLanguageCode({BuildContext? context}) String?
getAndroidStoreVersion({String? country, String? language}) Future<bool?>
getSavedPref() Future<bool>
initialize() Future<bool>
installAppStoreListingURL(String url) → void
installAppStoreVersion(String version) → void
installPackageInfo({PackageInfo? packageInfo}) → void
isTooSoon() bool
isUpdateAvailable() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openAppStoreV1() Future<void>
openAppStoreV2() Future<void>
saveIgnored() Future<bool>
shouldDisplayUpgrade() bool
toString() String
A string representation of this object.
inherited
updateVersionInfo() Future<bool>
verifyInit() bool

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

sharedInstance UpdaterHelper
no setter

Static Methods

clearSavedSettings() Future<void>