CapturedData class

Represents captured screenshot data with dimensions and pixel bytes.

This class is immutable and follows type safety principles.

Constructors

CapturedData({required int width, required int height, required Uint8List bytes})
Creates a CapturedData instance.
const
CapturedData.fromMap(Map<Object?, Object?> map)
Create CapturedData from method channel response map.
factory

Properties

bytes Uint8List
PNG-encoded image data as bytes.
final
hashCode int
The hash code for this object.
no setteroverride
height int
Height of the captured image in pixels.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
Width of the captured image in pixels.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Convert CapturedData to map for method channel.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override