init method

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

Implementation

@override
Future<void> init() async {
  if (!_initialized) {
    await _cleanup();
    _registerRelayerEvents();
    _registerExpirerEvents();
    client.core.pairing
        .register(JsonRpcMethod.values.map((e) => e.value).toList());
    _initialized = true;
  }
}