copyWith method
FaderModel
copyWith({
- String? documentID,
- String? appId,
- String? description,
- int? animationMilliseconds,
- int? imageSeconds,
- List<
ListedItemModel> ? items, - BackgroundModel? background,
- StorageConditionsModel? conditions,
override
Implementation
@override
FaderModel copyWith({
String? documentID,
String? appId,
String? description,
int? animationMilliseconds,
int? imageSeconds,
List<ListedItemModel>? items,
BackgroundModel? background,
StorageConditionsModel? conditions,
}) {
return FaderModel(
documentID: documentID ?? this.documentID,
appId: appId ?? this.appId,
description: description ?? this.description,
animationMilliseconds:
animationMilliseconds ?? this.animationMilliseconds,
imageSeconds: imageSeconds ?? this.imageSeconds,
items: items ?? this.items,
background: background ?? this.background,
conditions: conditions ?? this.conditions,
);
}