ProcessConfig constructor
ProcessConfig({})
Implementation
factory ProcessConfig({
$core.String? id,
$core.String? name,
$core.Iterable<$core.String>? args,
$core.String? cwd,
$core.bool? oneShot,
$core.bool? log,
$core.int? stopSignal,
$42.Duration? stopTimeout,
$core.Map<$core.String, $core.String>? env,
$core.String? username,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (name != null) {
$result.name = name;
}
if (args != null) {
$result.args.addAll(args);
}
if (cwd != null) {
$result.cwd = cwd;
}
if (oneShot != null) {
$result.oneShot = oneShot;
}
if (log != null) {
$result.log = log;
}
if (stopSignal != null) {
$result.stopSignal = stopSignal;
}
if (stopTimeout != null) {
$result.stopTimeout = stopTimeout;
}
if (env != null) {
$result.env.addAll(env);
}
if (username != null) {
$result.username = username;
}
return $result;
}