PhoenixChannelEvent.custom constructor Null safety

PhoenixChannelEvent.custom(
  1. dynamic name
)

A custom push event.

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

Implementation

factory PhoenixChannelEvent.custom(name) => PhoenixChannelEvent._(name);