CurrentKnownHostsRes constructor
CurrentKnownHostsRes({})
Implementation
factory CurrentKnownHostsRes({
$core.Iterable<KnownHost>? hotHosts,
$core.Iterable<KnownHost>? warmHosts,
$core.Iterable<KnownHost>? coldHosts,
}) {
final _result = create();
if (hotHosts != null) {
_result.hotHosts.addAll(hotHosts);
}
if (warmHosts != null) {
_result.warmHosts.addAll(warmHosts);
}
if (coldHosts != null) {
_result.coldHosts.addAll(coldHosts);
}
return _result;
}