Extracts a single event type matching the given key from the Platform Event union.
String key specifying the event to extract
ByType
Extracts a single event type matching the given key from the Platform Event union.