ModuleConfig constructor
Implementation
factory ModuleConfig({
$core.String? name,
$core.String? path,
$core.String? logLevel,
$core.String? type,
$core.String? moduleId,
$core.Map<$core.String, $core.String>? env,
AppValidationStatus? status,
$42.Duration? firstRunTimeout,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (path != null) {
$result.path = path;
}
if (logLevel != null) {
$result.logLevel = logLevel;
}
if (type != null) {
$result.type = type;
}
if (moduleId != null) {
$result.moduleId = moduleId;
}
if (env != null) {
$result.env.addAll(env);
}
if (status != null) {
$result.status = status;
}
if (firstRunTimeout != null) {
$result.firstRunTimeout = firstRunTimeout;
}
return $result;
}