DiscoveryTimeoutController constructor

DiscoveryTimeoutController({
  1. int timeoutSeconds = 10,
})

Implementation

DiscoveryTimeoutController({
  this.timeoutSeconds = 10,
}) : assert(timeoutSeconds >= 0 && timeoutSeconds <= 30,
          "`timeoutSeconds` must be between 0 and 30 (inclusive)");