delayBetweenReconnectionAttempts property

Duration? delayBetweenReconnectionAttempts
final

The duration that needs to pass before trying to reconnect to the server after a connection loss. This only takes effect when autoReconnect is set to true.

If null, the reconnection will occur immediately, although not recommended.

Implementation

final Duration? delayBetweenReconnectionAttempts;