reportFailureJson property
Failure payload used by report projections without serializing the complete result (logs, report screens, and step evidence) a second time.
The full toJson shape remains the canonical machine result. This narrow accessor is intentionally limited to the fields that the HTML report copies into its test entry envelope.
Implementation
Map<String, dynamic>? get reportFailureJson =>
status == TestStatus.failed ? _failureJson() : null;