init abstract method
dynamic
init({})
Implementation
init({
required List<String> relaysUrl,
void Function(
String relayUrl,
dynamic receivedData,
WebSocket? relayWebSocket,
)? onRelayListening,
void Function(
String relayUrl,
Object? error,
WebSocket? relayWebSocket,
)? onRelayConnectionError,
void Function(
String relayUrl,
WebSocket? relayWebSocket,
)? onRelayConnectionDone,
bool lazyListeningToRelays = false,
bool retryOnError = false,
bool retryOnClose = false,
});