Engine behind the app part of UApp; use UApp instead.
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
- appName → String
-
Same as UApp.name.
no setter
- buildNumber → String
-
Same as UApp.buildNumber.
no setter
- firstLaunchTime → DateTime?
-
Same as UApp.firstLaunchTime.
no setter
- flavor → String?
-
Flavor from
flutter run --flavor <name>, when one was used.no setter - fullVersion → String
-
"1.4.0+12".
no setter
- info → UPackageInfo
-
Same as UApp.packageInfo.
no setter
- installer → UInstaller
-
Where the app came from, normalized across stores.
no setter
- installTime → DateTime?
-
Same as UApp.installTime.
no setter
- isDebug → bool
-
Same as UApp.isDebug.
no setter
- isFirstLaunch → bool
-
First launch ever on this device (since install, or since app data was cleared).
no setter
- isFirstLaunchOfVersion → bool
-
First launch of the current version (true on first install too).
no setter
- isProfile → bool
-
Same as UApp.isProfile.
no setter
- isReady → bool
-
Same as UApp.isPackageInfoReady.
no setter
- isRelease → bool
-
Same as UApp.isRelease.
no setter
- justUpdated → bool
-
Updated from an older version since the last launch. Show the changelog, run data migrations.
no setter
- launchCount → int
-
Same as UApp.launchCount.
no setter
- packageName → String
-
Same as UApp.packageName.
no setter
- previousVersion → String?
-
Version that ran on the previous launch; null on first launch.
no setter
- signatureSha256 → String?
-
Same as UApp.signatureSha256.
no setter
- updateTime → DateTime?
-
Same as UApp.updateTime.
no setter
- version → String
-
Same as UApp.version.
no setter
- versionFirstLaunchTime → DateTime?
-
When the current version first launched.
no setter
Static Methods
-
compareVersions(
String a, String b) → int - Compares two dotted versions numerically ("1.10.0" > "1.9.3"); a build suffix ("+12") breaks ties. Returns <0, 0 or >0 like Comparable.compareTo.
-
init(
) → Future< void> -
Loads package info (shares the device bootstrap call) and records this launch.
Idempotent;
initU()calls it for you. -
isAtLeast(
String minimum) → bool -
Whether this app is
minimumor newer, e.g. against a "force update below" value from the server. -
isOlderThan(
String other) → bool - Same as UApp.isVersionOlderThan.