p2p/protocol/identify/nat_emitter library

NAT emitter for libp2p.

This file contains the implementation of the NAT emitter, which emits events when the NAT type changes.

This is a port of the Go implementation from go-libp2p/p2p/protocol/identify/nat_emitter.go to Dart, using native Dart idioms.

Classes

NATEmitter
NATEmitter emits events when the NAT type changes.