ConnectionErrorEvent constructor

ConnectionErrorEvent({
  1. required String connectionId,
  2. required DateTime createdAt,
  3. required APIError error,
  4. String type = 'connection.error',
})

Returns a new ConnectionErrorEvent instance.

Implementation

ConnectionErrorEvent({
  required this.connectionId,
  required this.createdAt,
  required this.error,
  this.type = 'connection.error',
});