Album constructor

Album(
  1. String name,
  2. String identifier,
  3. int assetCount, {
  4. int? assetSelected,
  5. List<AlbumItem>? items,
})

Implementation

Album(
  this.name,
  this.identifier,
  this.assetCount, {
  int? assetSelected,
  List<AlbumItem>? items,
})  : this.assetSelected = assetSelected ?? 0,
      this.items = items ?? [];