WsEvent constructor Null safety

WsEvent(
  1. {String? requestId,
  2. Map<String, dynamic> payload = const {},
  3. ChannelEventCategory? category}
)

Implementation

WsEvent({
  this.requestId,
  this.payload = const {},
  this.category,
});