CaptureOutputWriter class
Writes screen PNGs, element PNGs and manifest.json on the host.
screenshots maps screenshot names (the file name without .png) to the
bytes integrationDriver received. A capture whose screen PNG never
arrived is dropped from the manifest so the CLI never uploads a missing
file.
Constructors
-
CaptureOutputWriter({Map<
String, String> environment = const {}}) -
const
Properties
-
environment
→ Map<
String, String> -
Host environment.
GITHUB_SHAandGITHUB_REF_NAMEfillgit.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
{required CaptureReport report, required Map< String, List< screenshots, String? outDir}) → Future<int> >ManifestV2>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited