ReconnectConfig constructor
const
ReconnectConfig({})
Creates a reconnect config.
Implementation
const ReconnectConfig({
this.enabled = true,
this.initialDelay = const Duration(seconds: 1),
this.maxDelay = const Duration(seconds: 30),
this.backoffFactor = 2.0,
this.maxAttempts,
});