ComponentConfig constructor
ComponentConfig({})
Implementation
factory ComponentConfig({
$core.String? name,
$core.String? namespace,
$core.String? type,
$core.String? model,
Frame? frame,
$core.Iterable<$core.String>? dependsOn,
$core.Iterable<ResourceLevelServiceConfig>? serviceConfigs,
$43.Struct? attributes,
$core.String? api,
LogConfiguration? logConfiguration,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (namespace != null) {
$result.namespace = namespace;
}
if (type != null) {
$result.type = type;
}
if (model != null) {
$result.model = model;
}
if (frame != null) {
$result.frame = frame;
}
if (dependsOn != null) {
$result.dependsOn.addAll(dependsOn);
}
if (serviceConfigs != null) {
$result.serviceConfigs.addAll(serviceConfigs);
}
if (attributes != null) {
$result.attributes = attributes;
}
if (api != null) {
$result.api = api;
}
if (logConfiguration != null) {
$result.logConfiguration = logConfiguration;
}
return $result;
}