connectionTimeout property

int connectionTimeout

Implementation

int get connectionTimeout => _connectionTimeout;
void connectionTimeout=(dynamic value)

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;
  }
}