DocScanException class
Exception thrown by the FlutterDocScanner plugin.
- Implemented types
Constructors
- DocScanException({required String code, required String message, dynamic details})
-
const
Properties
- code → String
-
Machine-readable error code.
final
- details → dynamic
-
Optional platform-specific details.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable description of the error.
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.
inherited
Constants
- codeCancelled → const String
- The user cancelled the scan.
- codeNoActivity → const String
- The scanner requires a foreground activity (Android).
- codePdfCreationError → const String
- PDF creation failed (iOS).
- codeScanFailed → const String
- The scan operation failed.
- codeScanInProgress → const String
- Another scan is already in progress.
- codeUnsupported → const String
- The platform does not support this feature.