setPort method Null safety

void setPort(
  1. int value
)

Sets the port number.

  • value a new port number.

See getHost