copyWith method
AlbumModel
copyWith({
- String? documentID,
- String? appId,
- List<
AlbumEntryModel> ? albumEntries, - String? description,
- BackgroundModel? backgroundImage,
- StorageConditionsModel? conditions,
override
Implementation
@override
AlbumModel copyWith({
String? documentID,
String? appId,
List<AlbumEntryModel>? albumEntries,
String? description,
BackgroundModel? backgroundImage,
StorageConditionsModel? conditions,
}) {
return AlbumModel(
documentID: documentID ?? this.documentID,
appId: appId ?? this.appId,
albumEntries: albumEntries ?? this.albumEntries,
description: description ?? this.description,
backgroundImage: backgroundImage ?? this.backgroundImage,
conditions: conditions ?? this.conditions,
);
}