UpgradeWrapper constructor

UpgradeWrapper({
  1. required UpgradeState state,
  2. String? lastVersion,
  3. String? currentVersion,
  4. bool hasError = false,
  5. Exception? error,
})

Implementation

UpgradeWrapper(
    {required this.state,
    this.lastVersion,
    this.currentVersion,
    this.hasError = false,
    this.error});