NetworkEndpoint.withPort constructor
- InternetAddress address,
- int? port
Creates a new instance.
addressThe IP Address of the network endpoint.portOptional port number of the network endpoint.
Implementation
NetworkEndpoint.withPort(this.address, this.port);