FwupdDevice constructor

FwupdDevice({
  1. String? checksum,
  2. DateTime? created,
  3. required String deviceId,
  4. Set<FwupdDeviceFlag> flags = const {},
  5. List<String> guid = const [],
  6. List<String> icon = const [],
  7. DateTime? modified,
  8. required String name,
  9. String? parentDeviceId,
  10. required String plugin,
  11. String? protocol,
  12. String? summary,
  13. FwupdUpdateState updateState = FwupdUpdateState.unknown,
  14. String? vendor,
  15. String? vendorId,
  16. String? version,
  17. String? versionBootloader,
  18. FwupdVersionFormat versionFormat = FwupdVersionFormat.unknown,
  19. String? versionLowest,
})

Implementation

FwupdDevice(
    {this.checksum,
    this.created,
    required this.deviceId,
    this.flags = const {},
    this.guid = const [],
    this.icon = const [],
    this.modified,
    required this.name,
    this.parentDeviceId,
    required this.plugin,
    this.protocol,
    this.summary,
    this.updateState = FwupdUpdateState.unknown,
    this.vendor,
    this.vendorId,
    this.version,
    this.versionBootloader,
    this.versionFormat = FwupdVersionFormat.unknown,
    this.versionLowest});