getHost method

String? getHost()

Gets the host name or IP address.

Return the host name or IP address.

Implementation

String? getHost() {
  var host = super.getAsNullableString('host');
  host = host ?? super.getAsNullableString('ip');
  return host;
}