PartialTimeouts.all constructor

const PartialTimeouts.all(
  1. 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;