toDroppedEventRecord
Converts a domain event record to a dropped event record.
This extension function creates a mutable copy of the event record and modifies it to represent a dropped event with empty body content.
Receiver
The domain event record to convert
Return
A new domain event record marked as dropped