RobotConfig constructor
RobotConfig({
- CloudConfig? cloud,
- Iterable<
RemoteConfig> ? remotes, - Iterable<
ComponentConfig> ? components, - Iterable<
ProcessConfig> ? processes, - Iterable<
ServiceConfig> ? services, - NetworkConfig? network,
- AuthConfig? auth,
- bool? debug,
- Iterable<
ModuleConfig> ? modules, - bool? disablePartialStart,
- Iterable<
PackageConfig> ? packages, - Iterable<
AppValidationStatus> ? overwriteFragmentStatus, - bool? enableWebProfile,
- Iterable<
LogPatternConfig> ? log, - String? revision,
- MaintenanceConfig? maintenance,
Implementation
factory RobotConfig({
CloudConfig? cloud,
$core.Iterable<RemoteConfig>? remotes,
$core.Iterable<ComponentConfig>? components,
$core.Iterable<ProcessConfig>? processes,
$core.Iterable<ServiceConfig>? services,
NetworkConfig? network,
AuthConfig? auth,
$core.bool? debug,
$core.Iterable<ModuleConfig>? modules,
$core.bool? disablePartialStart,
$core.Iterable<PackageConfig>? packages,
$core.Iterable<AppValidationStatus>? overwriteFragmentStatus,
$core.bool? enableWebProfile,
$core.Iterable<LogPatternConfig>? log,
$core.String? revision,
MaintenanceConfig? maintenance,
}) {
final $result = create();
if (cloud != null) {
$result.cloud = cloud;
}
if (remotes != null) {
$result.remotes.addAll(remotes);
}
if (components != null) {
$result.components.addAll(components);
}
if (processes != null) {
$result.processes.addAll(processes);
}
if (services != null) {
$result.services.addAll(services);
}
if (network != null) {
$result.network = network;
}
if (auth != null) {
$result.auth = auth;
}
if (debug != null) {
$result.debug = debug;
}
if (modules != null) {
$result.modules.addAll(modules);
}
if (disablePartialStart != null) {
$result.disablePartialStart = disablePartialStart;
}
if (packages != null) {
$result.packages.addAll(packages);
}
if (overwriteFragmentStatus != null) {
$result.overwriteFragmentStatus.addAll(overwriteFragmentStatus);
}
if (enableWebProfile != null) {
$result.enableWebProfile = enableWebProfile;
}
if (log != null) {
$result.log.addAll(log);
}
if (revision != null) {
$result.revision = revision;
}
if (maintenance != null) {
$result.maintenance = maintenance;
}
return $result;
}