attachScreenshot method
void
attachScreenshot(})
Attaches the given screenshot to the test report.
Implementation
void attachScreenshot(
Uint8List screenshot, {
required bool goldenCompatible,
required String id,
}) {
final image = TestImage(
goldenCompatible: goldenCompatible,
id: id,
image: screenshot,
);
_images?.add(image);
_imageStreamController?.add(image);
}