FwupdRelease class
A firmware release with a specific version.
Devices can have more than one release, and the releases are typically ordered by their version.
- Annotations
-
- @immutable
Constructors
-
FwupdRelease({String? appstreamId, String? checksum, DateTime? created, String description = '', String? filename, String homepage = '', int installDuration = 0, String license = '', List<
String> locations = const [], required String name, String? protocol, String? remoteId, int size = 0, String summary = '', Set<FwupdReleaseFlag> flags = const {}, FwupdReleaseUrgency urgency = FwupdReleaseUrgency.unknown, String? uri, String vendor = '', String version = ''})
Properties
- appstreamId → String?
-
Appstream ID for this release.
final
- checksum → String?
-
Release checksum.
final
- created → DateTime?
-
When the update was created.
final
- description → String
-
Update description in AppStream markup format.
final
- filename → String?
-
Update filename.
final
-
flags
→ Set<
FwupdReleaseFlag> -
Release flags.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- homepage → String
-
Update homepage URL
final
- installDuration → int
-
Time estimate for firmware installation in seconds.
final
- license → String
-
Update license.
final
-
locations
→ List<
String> -
Update URI, i.e. where you can download the firmware from.
final
- name → String
-
Update name.
final
- protocol → String?
-
Update protocol, e.g.
org.usb.dfu
final - remoteId → String?
-
Remote ID that can be used for downloading.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Update size in bytes.
final
- summary → String
-
One line update summary.
final
- urgency → FwupdReleaseUrgency
-
Release urgency.
final
- uri → String?
-
Default update URI.
Deprecated, use locations instead.
final
- vendor → String
-
Vendor name, e.g.
Hughski Limited
.final - version → String
-
Update version, e.g.
1.2.4
.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override