NetworkEndpoint.withPort constructor

NetworkEndpoint.withPort(
  1. InternetAddress address,
  2. int? port
)

Creates a new instance.

  • address The IP Address of the network endpoint.
  • port Optional port number of the network endpoint.

Implementation

NetworkEndpoint.withPort(this.address, this.port);