PhoenixChannelEvent.custom constructor

const PhoenixChannelEvent.custom(
  1. String name
)

A custom push event.

This is the event name used when a user of the library sends a message on a channel.

Implementation

const PhoenixChannelEvent.custom(String name) : value = name;