connectTimeout property
Timeout for establishing a connection to the server.
If a connection is not established within this duration, a DioException with type DioExceptionType.connectionTimeout will be thrown. When null, no timeout is applied.
Implementation
final Duration? connectTimeout;