copyWith method
DocumentModel
copyWith({
- String? documentID,
- String? appId,
- String? description,
- String? content,
- double? padding,
- List<
DocumentItemModel> ? images, - BackgroundModel? background,
- StorageConditionsModel? conditions,
override
Implementation
@override
DocumentModel copyWith({
String? documentID,
String? appId,
String? description,
String? content,
double? padding,
List<DocumentItemModel>? images,
BackgroundModel? background,
StorageConditionsModel? conditions,
}) {
return DocumentModel(
documentID: documentID ?? this.documentID,
appId: appId ?? this.appId,
description: description ?? this.description,
content: content ?? this.content,
padding: padding ?? this.padding,
images: images ?? this.images,
background: background ?? this.background,
conditions: conditions ?? this.conditions,
);
}