UpdateEntity constructor

UpdateEntity({
  1. required bool hasUpdate,
  2. bool isForce = false,
  3. bool isIgnorable = false,
  4. required int versionCode,
  5. required String versionName,
  6. required String updateContent,
  7. required String downloadUrl,
  8. int apkSize = 0,
  9. String apkMd5 = '',
})

Implementation

UpdateEntity({
  required this.hasUpdate,
  this.isForce = false,
  this.isIgnorable = false,
  required this.versionCode,
  required this.versionName,
  required this.updateContent,
  required this.downloadUrl,
  this.apkSize = 0,
  this.apkMd5 = '',
});