CompilationResult constructor
CompilationResult({})
Implementation
factory CompilationResult({
$core.String? error,
$core.List<$core.int>? snapshotOut,
$core.List<$core.int>? snapshotErr,
$core.int? snapshotExitcode,
$core.List<$core.int>? imageOut,
$core.List<$core.int>? imageErr,
$core.int? imageExitcode,
}) {
final _result = create();
if (error != null) {
_result.error = error;
}
if (snapshotOut != null) {
_result.snapshotOut = snapshotOut;
}
if (snapshotErr != null) {
_result.snapshotErr = snapshotErr;
}
if (snapshotExitcode != null) {
_result.snapshotExitcode = snapshotExitcode;
}
if (imageOut != null) {
_result.imageOut = imageOut;
}
if (imageErr != null) {
_result.imageErr = imageErr;
}
if (imageExitcode != null) {
_result.imageExitcode = imageExitcode;
}
return _result;
}