UpgradeOccurrence class

An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade.

This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). For Windows, both distribution and windows_update contain information for the Windows update.

Constructors

UpgradeOccurrence({UpgradeDistribution? distribution, String? package, Version? parsedVersion, WindowsUpdate? windowsUpdate})
UpgradeOccurrence.fromJson(Map _json)

Properties

distribution UpgradeDistribution?
Metadata about the upgrade for available for the specific operating system for the resource_url.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
package String?
Required for non-Windows OS.
getter/setter pair
parsedVersion Version?
Required for non-Windows OS.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
windowsUpdate WindowsUpdate?
Required for Windows OS.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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