QueryEvent constructor

QueryEvent({
  1. required PeerId id,
  2. required QueryEventType type,
  3. List<AddrInfo>? responses,
  4. String? extra,
})

Creates a new query event.

Implementation

QueryEvent({
  required this.id,
  required this.type,
  this.responses,
  this.extra,
});