pub fn platform_event(name: &str, data: Value) -> Event
A platform event named name with data.
name
data