UpdateModel constructor

UpdateModel(
  1. String apkUrl,
  2. String apkName,
  3. String smallIcon,
  4. String apkDescription, {
  5. int? apkVersionCode,
  6. String? apkVersionName,
  7. String? apkSize,
  8. String? apkMD5,
  9. bool showNewerToast = false,
  10. bool showNotification = true,
  11. bool jumpInstallPage = true,
  12. bool showBgdToast = true,
  13. bool forcedUpgrade = false,
  14. bool showiOSDialog = true,
  15. String? iOSUrl,
})

Implementation

UpdateModel(
  this.apkUrl,
  this.apkName,
  this.smallIcon,
  this.apkDescription, {
  this.apkVersionCode,
  this.apkVersionName,
  this.apkSize,
  this.apkMD5,
  this.showNewerToast = false,
  this.showNotification = true,
  this.jumpInstallPage = true,
  this.showBgdToast = true,
  this.forcedUpgrade = false,
  this.showiOSDialog = true,
  this.iOSUrl,
});