idleTimeout property

Duration idleTimeout
getter/setter pair

Gets and sets the idle timeout of non-active persistent (keep-alive) connections.

The default value is 15 seconds.

Implementation

Duration idleTimeout = const Duration(seconds: 15);