withAutoNAT method

Future<void> withAutoNAT(
  1. bool enabled
)

Configures libp2p to enable/disable the AutoNAT service.

Implementation

Future<void> withAutoNAT(bool enabled) async {
  enableAutoNAT = enabled;
}