copyWith method

AlbumEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. List<AlbumEntryEntity>? albumEntries,
  4. String? description,
  5. BackgroundEntity? backgroundImage,
  6. StorageConditionsEntity? conditions,
})

Implementation

AlbumEntity copyWith({
  String? documentID,
  String? appId,
  List<AlbumEntryEntity>? albumEntries,
  String? description,
  BackgroundEntity? backgroundImage,
  StorageConditionsEntity? conditions,
}) {
  return AlbumEntity(
    appId: appId ?? this.appId,
    albumEntries: albumEntries ?? this.albumEntries,
    description: description ?? this.description,
    backgroundImage: backgroundImage ?? this.backgroundImage,
    conditions: conditions ?? this.conditions,
  );
}