setHost method Null safety

void setHost(
  1. String? value
)

Sets the host name or IP address.

  • value a new host name or IP address.