UpdateManifest constructor

const UpdateManifest({
  1. required String id,
  2. required String version,
  3. required String runtimeFingerprint,
  4. int rolloutPercentage = 100,
  5. String channel = 'production',
  6. String branch = 'main',
  7. String? releaseNotes,
  8. String? downloadUrl,
  9. String? assetHash,
  10. bool isMandatory = false,
  11. Map<String, dynamic> metadata = const {},
})

Creates an UpdateManifest descriptor.

Implementation

const UpdateManifest({
  required this.id,
  required this.version,
  required this.runtimeFingerprint,
  this.rolloutPercentage = 100,
  this.channel = 'production',
  this.branch = 'main',
  this.releaseNotes,
  this.downloadUrl,
  this.assetHash,
  this.isMandatory = false,
  this.metadata = const {},
});