DeviceScreenshot class

A screenshot from a preview.

Constructors

DeviceScreenshot({required DeviceInfo device, required Uint8List bytes, required ImageByteFormat format})
Creates a new preview screenshot with its associated bytes data, encoded with the given image format for the current device preview.
const

Properties

bytes Uint8List
The binary content of the resulting image file.
final
device DeviceInfo
The device from which the screenshot was taken from.
final
format ImageByteFormat
The format in which image bytes should be returned when using.
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

Operators

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