UpdaterHelper constructor
UpdaterHelper({
- bool debugDisplayAlways = false,
- bool debugDisplayOnce = false,
- WillDisplayUpgradeCallback? willDisplayUpgrade,
- String? countryCode,
- String? languageCode,
- String? minAppVersion,
- Client? client,
- UpdateSystem? updateSystem,
- 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();