CaptureReport class

What the on-device test hands to the host driver through IntegrationTestWidgetsFlutterBinding.reportData.

Full-screen PNGs travel separately through binding.takeScreenshot. Element PNGs are rendered on the device and travel here as base64.

Constructors

CaptureReport({required String project, required String outDir, required List<ScreenCapture> captures, Map<String, String> elementPngs = const {}, List<String> errors = const [], List<String> warnings = const []})
const
CaptureReport.fromJson(Map<String, Object?> json)
factory

Properties

captures → List<ScreenCapture>
final
elementPngs → Map<String, String>
Element file name to base64 PNG.
final
errors → List<String>
Per-screen failures, already redacted of credentials.
final
hashCode → int
The hash code for this object.
no setterinherited
outDir → String
final
project → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
warnings → List<String>
Per-element failures (missing or zero-size). The screen is still captured without that layer, and the test does not fail.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

reportKey → const String
Key under reportData that holds this report.