copyWith method

PresentationEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. List<BodyComponentEntity>? bodyComponents,
  5. String? imageId,
  6. int? imagePositionRelative,
  7. int? imageAlignment,
  8. double? imageWidth,
  9. StorageConditionsEntity? conditions,
})

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,
  );
}