ChannelEvent<T> constructor

const ChannelEvent<T>({
  1. required String channel,
  2. required String event,
  3. required T decode(
    1. Object? json
    ),
})

Implementation

const ChannelEvent({
  required this.channel,
  required this.event,
  required this.decode,
});