FwupdRelease constructor

FwupdRelease({
  1. String? appstreamId,
  2. String? checksum,
  3. DateTime? created,
  4. String description = '',
  5. String? filename,
  6. String homepage = '',
  7. int installDuration = 0,
  8. String license = '',
  9. List<String> locations = const [],
  10. required String name,
  11. String? protocol,
  12. String? remoteId,
  13. int size = 0,
  14. String summary = '',
  15. Set<FwupdReleaseFlag> flags = const {},
  16. FwupdReleaseUrgency urgency = FwupdReleaseUrgency.unknown,
  17. String? uri,
  18. String vendor = '',
  19. String version = '',
})

Implementation

FwupdRelease(
    {this.appstreamId,
    this.checksum,
    this.created,
    this.description = '',
    this.filename,
    this.homepage = '',
    this.installDuration = 0,
    this.license = '',
    this.locations = const [],
    required this.name,
    this.protocol,
    this.remoteId,
    this.size = 0,
    this.summary = '',
    this.flags = const {},
    this.urgency = FwupdReleaseUrgency.unknown,
    this.uri,
    this.vendor = '',
    this.version = ''});