AppRelease constructor

AppRelease({
  1. required String id,
  2. required String packageName,
  3. required String appName,
  4. String repository = '',
  5. String repositoryUrl = '',
  6. String tag = '',
  7. required String version,
  8. required int buildNumber,
  9. String? description,
  10. String? releaseNotes,
  11. String? apkUrl,
  12. int? apkSize,
  13. required DateTime publishedAt,
  14. String? iconUrl,
  15. String channel = 'official',
  16. bool isBeta = false,
  17. List<DownloadAsset> downloads = const [],
  18. List<String> screenshots = const [],
})

Implementation

AppRelease({
  required this.id,
  required this.packageName,
  required this.appName,
  this.repository = '',
  this.repositoryUrl = '',
  this.tag = '',
  required this.version,
  required this.buildNumber,
  this.description,
  this.releaseNotes,
  this.apkUrl,
  this.apkSize,
  required this.publishedAt,
  this.iconUrl,
  this.channel = 'official',
  this.isBeta = false,
  this.downloads = const [],
  this.screenshots = const [],
});