timeout property
Duration
get
timeout
The timeout of stored requests.
Implementation
Duration get timeout => _timeout;
set
timeout
(Duration value)
Implementation
set timeout(Duration value) {
if (value.inMilliseconds <= 0) {
_timeout = _noDuration;
} else {
if (value.inSeconds < 1) value = Duration(seconds: 1);
_timeout = value;
}
}