AppRelease constructor
AppRelease({
- required String id,
- required String packageName,
- required String appName,
- String repository = '',
- String repositoryUrl = '',
- String tag = '',
- required String version,
- required int buildNumber,
- String? description,
- String? releaseNotes,
- String? apkUrl,
- int? apkSize,
- required DateTime publishedAt,
- String? iconUrl,
- String channel = 'official',
- bool isBeta = false,
- List<
DownloadAsset> downloads = const [], - 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 [],
});