ModelUpdateManager class

Model update manager.

Constructors

ModelUpdateManager({AutoUpdateConfig config = const AutoUpdateConfig(), ModelUpdateSource? updateSource})

Properties

config AutoUpdateConfig
Configuration.
final
hashCode int
The hash code for this object.
no setterinherited
installedVersions Map<String, ModelVersion>
Get all installed models.
no setter
isCheckDue bool
Check if update check is due.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateSource ModelUpdateSource?
Source for update information.
final

Methods

checkAllForUpdates() Future<Map<String, UpdateCheckResult>>
Check for updates for all installed models.
checkForUpdate(String modelName) Future<UpdateCheckResult>
Check for updates for a specific model.
getInstalledVersion(String modelName) ModelVersion?
Get installed version for a model.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerInstalledVersion(ModelVersion version) → void
Register an installed model version.
toString() String
A string representation of this object.
inherited

Operators

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