WebSocketManagerEvent constructor

WebSocketManagerEvent({
  1. required String type,
  2. dynamic data,
  3. DateTime? timestamp,
})

Creates a new WebSocketManagerEvent.

Implementation

WebSocketManagerEvent({required this.type, this.data, DateTime? timestamp})
  : timestamp = timestamp ?? DateTime.now();