withPing method

Future<void> withPing(
  1. bool enabled
)

Configures libp2p to enable/disable the Ping service.

Implementation

Future<void> withPing(bool enabled) async {
  enablePing = enabled;
}