AddrInfo.withId constructor
AddrInfo.withId(
- PeerId id
Creates a new AddrInfo with the given peer ID and no addresses
Implementation
AddrInfo.withId(this.id) : addrs = [];
Creates a new AddrInfo with the given peer ID and no addresses
AddrInfo.withId(this.id) : addrs = [];