withAutoNATv2Server method

Future<void> withAutoNATv2Server(
  1. bool enabled
)

Configures whether AutoNAT v2 answers other peers' reachability checks. See enableAutoNATv2Server.

Implementation

Future<void> withAutoNATv2Server(bool enabled) async {
  enableAutoNATv2Server = enabled;
}