NodeAddress constructor

NodeAddress({
  1. String? hostName,
  2. int? port,
})

Implementation

factory NodeAddress({
  $core.String? hostName,
  $core.int? port,
}) {
  final $result = create();
  if (hostName != null) {
    $result.hostName = hostName;
  }
  if (port != null) {
    $result.port = port;
  }
  return $result;
}