copyWith method
Implementation
DocumentEntity copyWith({
String? documentID,
String? appId,
String? description,
String? content,
double? padding,
List<DocumentItemEntity>? images,
BackgroundEntity? background,
StorageConditionsEntity? conditions,
}) {
return DocumentEntity(
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,
);
}