receiveTimeout property

Duration? receiveTimeout
getter/setter pair

Timeout for receiving the response from the server.

If the response is not received within this duration, a DioException with type DioExceptionType.receiveTimeout will be thrown. When null, uses the global Dio default.

Implementation

Duration? receiveTimeout;