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 (!_appKit.core.relayClient.isConnected) {
    await _appKit.core.relayClient.connect();
  }
}