NAppUpdateState constructor

const NAppUpdateState({
  1. NAppUpdateStatus status = NAppUpdateStatus.idle,
  2. InstalledSoftware? installed,
  3. SoftwareUpdate? update,
  4. SoftwareRelease? currentRelease,
  5. SoftwareRelease? latestRelease,
  6. SoftwareRelease? justUpdatedRelease,
  7. List<SoftwareRelease> releases = const [],
  8. Map<String, List<SoftwareAsset>> assetsByReleaseId = const {},
  9. double? progress,
  10. DateTime? lastChecked,
  11. String? error,
})

Implementation

const NAppUpdateState({
  this.status = NAppUpdateStatus.idle,
  this.installed,
  this.update,
  this.currentRelease,
  this.latestRelease,
  this.justUpdatedRelease,
  this.releases = const [],
  this.assetsByReleaseId = const {},
  this.progress,
  this.lastChecked,
  this.error,
});