UpdaterHelper constructor

UpdaterHelper({
  1. bool debugDisplayAlways = false,
  2. bool debugDisplayOnce = false,
  3. WillDisplayUpgradeCallback? willDisplayUpgrade,
  4. String? countryCode,
  5. String? languageCode,
  6. String? minAppVersion,
  7. Client? client,
  8. UpdateSystem? updateSystem,
  9. Duration durationUntilAlertAgain = const Duration(days: 2),
})

Implementation

UpdaterHelper({
  this.debugDisplayAlways = false,
  this.debugDisplayOnce = false,
  this.willDisplayUpgrade,
  this.countryCode,
  this.languageCode,
  this.minAppVersion,
  http.Client? client,
  UpdateSystem? updateSystem,
  this.durationUntilAlertAgain = const Duration(days: 2),
})  : client = client ?? http.Client(),
      updateSystem = updateSystem ?? UpdateSystem();