ping method
Implementation
@override
Future<void> ping({
required String topic,
}) async {
_checkInitialized();
await _isValidPing(topic);
if (sessions.has(topic)) {
bool _ = await core.pairing.sendRequest(
topic,
MethodConstants.WC_SESSION_PING,
{},
);
} else if (core.pairing.getStore().has(topic)) {
await core.pairing.ping(topic: topic);
}
}