DocumentScannerOptions class
Immutable options for configuring features of DocumentScannerOptions.
Used to configure features such as pageLimit, scanner mode, document format and gallery import.
Constructors
- DocumentScannerOptions({DocumentFormat documentFormat = DocumentFormat.jpeg, int pageLimit = 1, ScannerMode mode = ScannerMode.full, bool isGalleryImport = false})
- Constructor for DocumentScannerOptions.
Properties
- documentFormat → DocumentFormat
-
Sets scanner result formats.
Available formats: PDF, JPG and default format is JPG.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isGalleryImport → bool
-
Enable or disable the capability to import from the photo gallery. default = false.
final
- mode → ScannerMode
-
Sets the scanner mode which determines what features are enabled. default = ScannerModel.full.
final
- pageLimit → int
-
Sets a page limit for the maximum number of pages that can be scanned in a single scanning session. default = 1.
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
-
toJson(
) → Map< String, dynamic> - Returns a json representation of an instance of DocumentScannerOptions.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited