reconnectRelay method

  1. @override
Future<void> reconnectRelay()
override

Connects to the relay if not already connected. If the relay is already connected, this does nothing.

Implementation

@override
Future<void> reconnectRelay() async {
  if (!_web3App.core.relayClient.isConnected) {
    await _web3App.core.relayClient.connect();
  }
}