PartialTimeouts.all constructor
const
PartialTimeouts.all(
- Duration timeout
Creates a new PartialTimeouts with all timeouts set to the
specified timeout
.
Implementation
const PartialTimeouts.all(Duration timeout)
: connectTimeout = timeout,
sendTimeout = timeout,
receiveTimeout = timeout;