ping method

  1. @override
Future<void> ping({
  1. required String topic,
})
override

Implementation

@override
Future<void> ping({required String topic}) async {
  _checkInitialized();

  await _isValidPing(topic);

  if (pairings.has(topic)) {
    // try {
    final bool _ = await sendRequest(
      topic,
      MethodConstants.WC_PAIRING_PING,
      {},
    );
  }
}