flatEvent
Flattens an object into an iterable of events.
This extension function converts various types of objects into an iterable collection of events. It handles single objects, arrays, and iterables, normalizing them into a consistent Iterable
Receiver
The object to flatten into events
Return
An iterable collection of event objects