FlutterPrinceOfVersions class

Library for checking if an application update is available.

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 Methods

checkForUpdates({required String url, bool shouldPinCertificates = false, Map<String, String> httpHeaderFields = const {}, Map<String, RequirementCheck> requirementChecks = const {}}) Future<UpdateData>
Checks for application updates, by parsing the version configuration fetched from an url.
checkForUpdatesFromAppStore({bool trackPhasedRelease = true, bool notifyOnce = false}) Future<UpdateData>
Checks App Store for application updates.
checkForUpdatesFromGooglePlay(String url, Callback callback) Future<void>
Checks Google Play for application updates.