WebSocketMessage constructor

WebSocketMessage({
  1. required MessageType type,
  2. String? collection,
  3. String? recordId,
  4. Map<String, dynamic>? data,
  5. DateTime? timestamp,
  6. Map<String, dynamic>? metadata,
})

Implementation

WebSocketMessage({
  required this.type,
  this.collection,
  this.recordId,
  this.data,
  this.timestamp,
  this.metadata,
});