CaptureHelperScanResult class
Résultat d'une opération de numérisation de documents
Constructors
-
CaptureHelperScanResult({required List<
String> imagePaths, required bool success, String? errorMessage}) -
const
- CaptureHelperScanResult.cancelled()
-
Crée un résultat d'annulation par l'utilisateur
factory
- CaptureHelperScanResult.failure(String errorMessage)
-
Crée un résultat d'échec
factory
-
CaptureHelperScanResult.success(List<
String> imagePaths) -
Crée un résultat réussi
factory
Properties
- errorMessage → String?
-
Message d'erreur si applicable
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- imageCount → int
-
Nombre d'images scannées
no setter
-
imagePaths
→ List<
String> -
Liste des chemins des images scannées
Chaque chemin pointe vers un fichier JPEG stocké localement
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → bool
-
Indique si l'opération a réussi
final
- wasCancelled → bool
-
Vérifie si l'utilisateur a annulé
no setter
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