withRelay method

Future<void> withRelay(
  1. bool enabled
)

Configures libp2p to enable/disable the Relay service.

Implementation

Future<void> withRelay(bool enabled) async {
  enableRelay = enabled;
}