C2paRsOracleResult class final

Captured output from one VM-only c2pa-rs oracle invocation.

Constructors

C2paRsOracleResult({required String commandVersion, required int exitCode, required Object? json, required Object? crJson, required String jsonText, required String? crJsonText, required String stdout, required String stderr})
Creates an immutable oracle result for a completed subprocess.
const

Properties

commandVersion → String
Version label copied from the pinned oracle command.
final
crJson → Object?
Decoded crJSON report, or null when no crJSON file was emitted.
final
crJsonText → String?
Raw crJSON report text, or null when the oracle did not write one.
final
exitCode → int
Subprocess exit code, including nonzero codes that still wrote JSON.
final
hashCode → int
The hash code for this object.
no setterinherited
json → Object?
Decoded JSON report emitted by the oracle.
final
jsonText → String
Raw JSON report text used for diagnostics and golden updates.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stderr → String
UTF-8 stderr captured from the subprocess.
final
stdout → String
UTF-8 stdout captured from the subprocess.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited