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,
ReownCoreUtils.calculateExpiry(
ReownConstants.SEVEN_DAYS,
),
);
}