VersionTracker class
Provides an easy way to track versions and builds
Constructors
Properties
-
buildHistory
→ List<
String?> ? -
Gets the collection of build numbers of the app that ran on this device.
no setter
- currentBuild → String?
-
Gets the current build of the app.
no setter
- currentVersion → String?
-
Gets the current version number of the app.
no setter
- firstInstalledBuild → String?
-
Gets the build number of first version of the app that was installed on this device.
no setter
- firstInstalledVersion → String?
-
Gets the version number of the first version of the app that was installed on this device.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFirstLaunchEver → bool?
-
Gets a value indicating whether this is the first time this app has ever been launched on this device.
no setter
- isFirstLaunchForCurrentBuild → bool?
-
Gets a value indicating if this is the first launch of the app for the current build number.
no setter
- isFirstLaunchForCurrentVersion → bool?
-
Gets a value indicating if this is the first launch of the app for the current version number.
no setter
- previousBuild → String?
-
Gets the build number for the previously run version.
no setter
- previousVersion → String?
-
Gets the version number for the previously run version.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
versionHistory
→ List<
String?> ? -
Gets the collection of version numbers of the app that ran on this device.
no setter
Methods
-
isFirstLaunchForBuild(
String build) → bool - Determines if this is the first launch of the app for a specified build number.
-
isFirstLaunchForVersion(
String version) → bool - Determines if this is the first launch of the app for a specified version number.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Show all the available data in a formatted string
override
-
track(
{int? versionHistoryMaxLength, int? buildHistoryMaxLength}) → Future< void> - Start tracking versions and builds
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited