NdkRequest.query constructor

NdkRequest.query(
  1. String id, {
  2. String? name,
  3. required Duration? timeoutDuration,
  4. dynamic timeoutCallback()?,
  5. dynamic timeoutCallbackUserFacing()?,
  6. required List<Filter> filters,
  7. int desiredCoverage = 2,
  8. bool closeOnEOSE = true,
  9. RelaySet? relaySet,
  10. Iterable<String>? explicitRelays,
  11. bool cacheRead = true,
  12. bool cacheWrite = true,
})

query

Implementation

NdkRequest.query(
  this.id, {
  this.name,
  required this.timeoutDuration,
  this.timeoutCallback,
  this.timeoutCallbackUserFacing,
  required this.filters,
  this.desiredCoverage = 2,
  this.closeOnEOSE = true,
  this.relaySet,
  this.explicitRelays,
  this.cacheRead = true,
  this.cacheWrite = true,
});