WorkRequest constructor
WorkRequest({})
Implementation
factory WorkRequest({
$core.Iterable<$core.String>? arguments,
$core.Iterable<Input>? inputs,
$core.int? requestId,
$core.bool? cancel,
$core.int? verbosity,
$core.String? sandboxDir,
}) {
final $result = create();
if (arguments != null) {
$result.arguments.addAll(arguments);
}
if (inputs != null) {
$result.inputs.addAll(inputs);
}
if (requestId != null) {
$result.requestId = requestId;
}
if (cancel != null) {
$result.cancel = cancel;
}
if (verbosity != null) {
$result.verbosity = verbosity;
}
if (sandboxDir != null) {
$result.sandboxDir = sandboxDir;
}
return $result;
}