importStepRecords method
Implementation
void importStepRecords(Iterable<CockpitStepRecord> steps) {
for (final step in steps) {
_steps.add(
CockpitStepRecord(
index: _steps.length,
actionType: step.actionType,
actionArgs: step.actionArgs,
observedAt: step.observedAt,
observation: step.observation,
snapshot: step.snapshot,
artifactRefs: step.artifactRefs,
commandType: step.commandType,
locator: step.locator,
locatorResolution: step.locatorResolution,
commandError: step.commandError,
durationMs: step.durationMs,
status: step.status,
targetKind: step.targetKind,
executionPlane: step.executionPlane,
surfaceKind: step.surfaceKind,
fallbackTrail: step.fallbackTrail,
usedPlaneFallback: step.usedPlaneFallback,
requestedCaptureProfile: step.requestedCaptureProfile,
resolvedCaptureKind: step.resolvedCaptureKind,
usedCaptureFallback: step.usedCaptureFallback,
degradationReason: step.degradationReason,
captureRefs: step.captureRefs,
),
);
}
}