HostConfig constructor
HostConfig({
- String? hostname,
- String? type,
- bool? isServer,
- String? hostServerAddress,
- String? connectTo,
- Iterable<
ModuleConfig> ? modules, - String? logFolder,
- LogMessageSeverityLevel? minLogSeverityLevel,
Implementation
factory HostConfig({
$core.String? hostname,
$core.String? type,
$core.bool? isServer,
$core.String? hostServerAddress,
$core.String? 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 (isServer != null) {
$result.isServer = isServer;
}
if (hostServerAddress != null) {
$result.hostServerAddress = hostServerAddress;
}
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;
}