ChannelEvent constructor Null safety

ChannelEvent(
  1. {required ChannelType channelType,
  2. required String channelUrl,
  3. required ChannelEventCategory category,
  4. required Map<String, dynamic> data,
  5. int? ts,
  6. int? messageOffset}
)

Implementation

ChannelEvent({
  required this.channelType,
  required this.channelUrl,
  required this.category,
  required this.data,
  this.ts,
  this.messageOffset,
});