setTimeOut method

R setTimeOut(
  1. int seconds
)

Set Connection Timeout

Implementation

R setTimeOut(int seconds) {
  httpClient.timeout = Duration(seconds: seconds);
  _debugLog('Timeout set to: $seconds seconds');
  return this as R;
}