InMemoryAppUpdateAdapter class

Pure-Dart default adapter: scripted check results.

Implemented types

Constructors

InMemoryAppUpdateAdapter()

Properties

hashCode int
The hash code for this object.
no setterinherited
nextInfo UpdateInfo
The UpdateInfo the next checkForUpdates returns. Defaults to "up to date" at 0.0.0.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateLaunchable bool
Whether performUpdate reports success.
getter/setter pair
updatesLaunched List<UpdateInfo>
Infos passed to performUpdate (introspection).
final

Methods

checkForUpdates(String currentVersion) Future<UpdateInfo>
Checks the store/feed for updates relative to currentVersion.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
performUpdate(UpdateInfo info) Future<bool>
Launches the platform update flow (store page or in-app download); returns whether the flow could be started.
override
toString() String
A string representation of this object.
inherited

Operators

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