NetworkEndpoint.withPort constructor - NetworkEndpoint - core library - Dart API
NetworkEndpoint.withPort
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);