RelayClient constructor

RelayClient({
  1. required IReownCore core,
  2. required IMessageTracker messageTracker,
  3. required IGenericStore<String> topicMap,
  4. IWebSocketHandler? socketHandler,
})

Implementation

RelayClient({
  required this.core,
  required this.messageTracker,
  required this.topicMap,
  IWebSocketHandler? socketHandler,
}) : socketHandler = socketHandler ?? WebSocketHandler();