fromValidated static method

EvidencePacket fromValidated(
  1. Map<String, Object?> json
)

Implementation

static EvidencePacket fromValidated(Map<String, Object?> json) =>
    EvidencePacket(
      id: json['id'] as String,
      ts: json['ts'] as String,
      missionId: json['missionId'] as String,
      stepId: json['stepId'] as String,
      phase: json['phase'] as String,
      command: json['command'] as String,
      exit: json['exit'] as int,
      digest: json['digest'] as String,
      at: json['at'] as String,
      durationMs: json['durationMs'] as int?,
      output: json['output'] as String?,
    );