init method

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

Implementation

@override
Future<void> init() async {
  if (_initialized) {
    return;
  }

  await core.pairing.init();
  await proposals.init();
  await sessions.init();
  await pendingRequests.init();

  _registerInternalEvents();
  _registerRelayClientFunctions();
  await _cleanup();

  await _resubscribeAll();

  _initialized = true;
}