ServerEvent constructor

const ServerEvent({
  1. required ServerEventType type,
  2. required String message,
  3. Map<String, dynamic>? data,
})

Constructor

Implementation

const ServerEvent({
  required this.type,
  required this.message,
  this.data,
});