The compaction of the events.
Constructs an EventCompaction from a map (string or atom keys).
@type t() :: %ADK.EventCompaction{ compacted_content: map(), end_timestamp: float(), start_timestamp: float() }
@spec from_map(map() | t() | nil) :: t() | nil
Returns nil for nil input, passes through existing structs.
nil