ExportedShot class
One place a key was seen, on one captured frame.
image is the whole frame, not a crop, and the same file is shared by every key on it. Cropping was considered and dropped: the services this feeds all take an image plus a rectangle, so a crop would mean recomputing every box against it and throwing away the context the box exists to point into.
Constructors
Properties
- charEnd → int?
-
final
- charStart → int?
-
The span inside its paragraph, so a key sharing a
Textwith two others can still be pointed at exactly.final - device → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- image → String
-
The frame, relative to the export directory. TranslationExport.file
turns it into something openable.
final
- locale → String?
-
final
- offstage → bool
-
Built, but not on screen — kept because "declared, reached, never shown"
is a different answer from "never reached".
final
- overflowed → bool
-
The words did not fit. The localisation bug, in one flag.
final
- rect → ExportedRect?
-
Where the words are on image, or null when the capture recorded no box.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scenario → String
-
file/name, as a run reports a scenario.final - step → String
-
final
- stepIndex → int
-
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
Static Methods
-
fromJson(
Map< String, Object?> json) → ExportedShot