copyWith method

FaderEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. int? animationMilliseconds,
  5. int? imageSeconds,
  6. List<ListedItemEntity>? items,
  7. BackgroundEntity? background,
  8. StorageConditionsEntity? conditions,
})

Implementation

FaderEntity copyWith({
  String? documentID,
  String? appId,
  String? description,
  int? animationMilliseconds,
  int? imageSeconds,
  List<ListedItemEntity>? items,
  BackgroundEntity? background,
  StorageConditionsEntity? conditions,
}) {
  return FaderEntity(
    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,
  );
}