copyWith method
AlbumEntity
copyWith({
- String? documentID,
- String? appId,
- List<
AlbumEntryEntity> ? albumEntries, - String? description,
- BackgroundEntity? backgroundImage,
- 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,
);
}