ScreenCapture class
One entry of ManifestV2 captures (see docs/contracts.md section 5).
Constructors
-
ScreenCapture({required String platform, required String device, required String locale, required String appearance, required String screenId, required String file, required double width, required double height, required double dpr, List<
ElementCapture> elements = const []}) -
const
-
ScreenCapture.fromJson(Map<
String, Object?> json) -
factory
Properties
- appearance → String
-
final
- device → String
-
final
- dpr → double
-
final
-
elements
→ List<
ElementCapture> -
final
- file → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
final
- locale → String
-
final
- platform → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenId → String
-
final
- width → double
-
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