setConnectTimeout method

dynamic setConnectTimeout(
  1. Duration duration
)
inherited

Set the connectTimeout for the request.

Implementation

setConnectTimeout(Duration duration) {
  _api.options.connectTimeout = duration;
}