KnownHost constructor

KnownHost({
  1. String? host,
  2. int? port,
})

Implementation

factory KnownHost({
  $core.String? host,
  $core.int? port,
}) {
  final _result = create();
  if (host != null) {
    _result.host = host;
  }
  if (port != null) {
    _result.port = port;
  }
  return _result;
}