# copyWith method Null safety

1. @override

FaderModel copyWith(

1. {String? documentID,
2. String? appId,
3. String? description,
4. int? animationMilliseconds,
5. int? imageSeconds,
6. List<ListedItemModel>? items,
7. BackgroundModel? background,
8. 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,
      );
    }