FwupdDevice class
A physical device on the host with optionally updatable firmware.
- Annotations
-
- @immutable
Constructors
-
FwupdDevice({String? checksum, DateTime? created, required String deviceId, Set<
FwupdDeviceFlag> flags = const {}, List<String> guid = const [], List<String> icon = const [], DateTime? modified, required String name, String? parentDeviceId, required String plugin, String? protocol, String? summary, FwupdUpdateState updateState = FwupdUpdateState.unknown, String? vendor, String? vendorId, String? version, String? versionBootloader, FwupdVersionFormat versionFormat = FwupdVersionFormat.unknown, String? versionLowest})
Properties
- checksum → String?
-
Device checksum.
final
- created → DateTime?
-
When the device was created.
final
- deviceId → String
-
Id for this device.
final
-
flags
→ Set<
FwupdDeviceFlag> -
Device flags.
final
-
guid
→ List<
String> -
GUIDs used by this device.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
icon
→ List<
String> -
Icon names to use for the device.
final
- modified → DateTime?
-
When the device was modified.
final
- name → String
-
Device name.
final
- parentDeviceId → String?
-
Id of the parent device.
final
- plugin → String
-
The plugin that created the device.
final
- protocol → String?
-
The protocol name that the device uses for updating.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- summary → String?
-
One line device summary.
final
- updateState → FwupdUpdateState
-
Update state.
final
- vendor → String?
-
final
- vendorId → String?
-
Combined device vendor ID.
final
- version → String?
-
Device version.
final
- versionBootloader → String?
-
Version of the bootloader.
final
- versionFormat → FwupdVersionFormat
-
Format that version, versionBootloader and versionLowest is in.
final
- versionLowest → String?
-
Lowest version of firmware the device will accept.
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