StompServiceOptions.serverEnabled constructor
const
StompServiceOptions.serverEnabled({})
Creates options with server enabled
Implementation
const StompServiceOptions.serverEnabled({
this.serverName,
this.timeout = StompConstants.defaultTimeout,
this.enableAutoReconnect = false,
this.reconnectInterval = const Duration(seconds: 5),
this.maxReconnectAttempts = 3,
}) : enableServer = true;