AutoUpdater class

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

addListener(UpdaterListener listener) → void
Adds a listener to the auto updater.
checkForUpdates({bool? inBackground}) Future<void>
Asks the server whether there is an update. You must call setFeedURL before using this API.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(UpdaterListener listener) → void
Removes a listener from the auto updater.
setFeedURL(String feedUrl) Future<void>
Sets the url and initialize the auto updater.
setScheduledCheckInterval(int interval) Future<void>
Sets the auto update check interval, default 86400, minimum 3600, 0 to disable update
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance AutoUpdater
The shared instance of AutoUpdater.
final