ScreenshotException class

Exception thrown when screenshot capture fails.

This class is immutable and follows type safety principles.

Implemented types

Constructors

ScreenshotException({required String code, required String message, dynamic details})
Creates a ScreenshotException instance.
const
ScreenshotException.fromPlatformException({required String code, required String? message, dynamic details})
Create ScreenshotException from method channel error.
factory

Properties

code String
Error code identifying the type of error.
final
details → dynamic
Optional additional error details.
final
hashCode int
The hash code for this object.
no setteroverride
message String
Human-readable error message.
final
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.
override

Operators

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