extendSession method
Implementation
@override
Future<void> extendSession({
required String topic,
}) async {
_checkInitialized();
_confirmOnlineStateOrThrow();
await _isValidSessionTopic(topic);
await core.pairing.sendRequest(
topic,
MethodConstants.WC_SESSION_EXTEND,
{},
);
await _setSessionExpiry(
topic,
WalletConnectUtils.calculateExpiry(
WalletConnectConstants.SEVEN_DAYS,
),
);
}