maxReconnectAttempts property
Maximum number of reconnect attempts when ConnectionOptions.autoReconnectOnConnectionLost is true. When null, defaultMaxReconnectAttempts is used.
Implementation
final int? maxReconnectAttempts;
Maximum number of reconnect attempts when ConnectionOptions.autoReconnectOnConnectionLost is true. When null, defaultMaxReconnectAttempts is used.
final int? maxReconnectAttempts;