PatchInfo constructor

PatchInfo({
  1. required String patchId,
  2. required String version,
  3. required DateTime createdAt,
  4. required int size,
  5. required String downloadUrl,
  6. required String signature,
  7. String platform = 'android',
  8. String? changelog,
  9. bool mandatory = false,
  10. int rolloutPercentage = 100,
  11. String? minAppVersion,
  12. String? maxAppVersion,
})

Implementation

PatchInfo({
  required this.patchId,
  required this.version,
  required this.createdAt,
  required this.size,
  required this.downloadUrl,
  required this.signature,
  this.platform = 'android',
  this.changelog,
  this.mandatory = false,
  this.rolloutPercentage = 100,
  this.minAppVersion,
  this.maxAppVersion,
});