copyWith method
Implementation
PresentationEntity copyWith({
String? documentID,
String? appId,
String? description,
List<BodyComponentEntity>? bodyComponents,
String? imageId,
int? imagePositionRelative,
int? imageAlignment,
double? imageWidth,
StorageConditionsEntity? conditions,
}) {
return PresentationEntity(
appId: appId ?? this.appId,
description: description ?? this.description,
bodyComponents: bodyComponents ?? this.bodyComponents,
imageId: imageId ?? this.imageId,
imagePositionRelative:
imagePositionRelative ?? this.imagePositionRelative,
imageAlignment: imageAlignment ?? this.imageAlignment,
imageWidth: imageWidth ?? this.imageWidth,
conditions: conditions ?? this.conditions,
);
}