connectionTimeout property
Implementation
int get connectionTimeout => _connectionTimeout;
Sets the timeout for connection. If there is a timeout error frequently, set the longer timeout than default value. The default value is 10 seconds.
Implementation
set connectionTimeout(value) {
if (value > 0) {
_connectionTimeout = value;
}
}