NdkRequest.subscription constructor

NdkRequest.subscription(
  1. String id, {
  2. String? name,
  3. required List<Filter> filters,
  4. int desiredCoverage = 2,
  5. bool closeOnEOSE = false,
  6. RelaySet? relaySet,
  7. Iterable<String>? explicitRelays,
  8. bool cacheRead = true,
  9. bool cacheWrite = true,
})

Implementation

NdkRequest.subscription(
  this.id, {
  this.name,
  required this.filters,
  this.desiredCoverage = 2,
  this.closeOnEOSE = false,
  this.relaySet,
  this.explicitRelays,
  this.cacheRead = true,
  this.cacheWrite = true,
});