DiscoveryTimeoutController constructor
DiscoveryTimeoutController({
- int timeoutSeconds = 10,
Creates a DiscoveryTimeoutController.
Range for timeoutSeconds
is 0 to 30 (inclusive).
Implementation
DiscoveryTimeoutController({
this.timeoutSeconds = 10,
}) : assert(timeoutSeconds >= 0 && timeoutSeconds <= 30,
"`timeoutSeconds` must be between 0 and 30 (inclusive)");