HostConfig constructor
HostConfig({
- String? hostname,
- String? type,
- ServerConfig? serverConfig,
- ClientConfig? connectTo,
- Iterable<
ModuleConfig> ? modules, - String? logFolder,
- LogMessageSeverityLevel? minLogSeverityLevel,
Implementation
factory HostConfig({
$core.String? hostname,
$core.String? type,
ServerConfig? serverConfig,
ClientConfig? connectTo,
$core.Iterable<ModuleConfig>? modules,
$core.String? logFolder,
LogMessageSeverityLevel? minLogSeverityLevel,
}) {
final $result = create();
if (hostname != null) {
$result.hostname = hostname;
}
if (type != null) {
$result.type = type;
}
if (serverConfig != null) {
$result.serverConfig = serverConfig;
}
if (connectTo != null) {
$result.connectTo = connectTo;
}
if (modules != null) {
$result.modules.addAll(modules);
}
if (logFolder != null) {
$result.logFolder = logFolder;
}
if (minLogSeverityLevel != null) {
$result.minLogSeverityLevel = minLogSeverityLevel;
}
return $result;
}