PackageInfo constructor
const
PackageInfo({
- required String name,
- bool installed = false,
- bool incomplete = true,
- bool preinstalled = false,
- bool compatible = false,
- bool hasUpdate = false,
- required PackageInfoError? error,
- PackageUpdateStatus updateStatus = PackageUpdateStatus.notAvailable,
- int? finalSizeOnDisk = null,
- int currentSizeOnDisk = 0,
Implementation
const PackageInfo({
required this.name,
this.installed = false,
this.incomplete = true,
this.preinstalled = false,
this.compatible = false,
this.hasUpdate = false,
required this.error,
this.updateStatus = PackageUpdateStatus.notAvailable,
this.finalSizeOnDisk = null,
this.currentSizeOnDisk = 0
});