MethodChannelDocutainSdk class

An implementation of DocutainSdkPlatform that uses method channels.

Inheritance

Constructors

MethodChannelDocutainSdk()

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
The method channel used to interact with the native platform.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addParaButton(String name, DocutainButton docutainButton) → Map<String, dynamic>
analyze() → Future<String>
override
emptyResultScreenDefaultItems() → Future<List<DocutainListItem>>
override
getImageBytes(int page, PageSourceType pageSourceType) → Future<Uint8List?>
override
getLastError() → Future<String>
override
getText(int pageNumber) → Future<String>
override
getTraceFile() → Future<File?>
override
initSDK(String licenseKey) → Future<bool>
override
loadFile(String path, String? password, bool useDataReader) → Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onboardingDefaultItems() → Future<List<DocutainListItem>>
override
pageCount() → Future<int>
override
resetOnboarding(bool onboarding, bool scanHintPopup) → Future
override
scanDocument(DocumentScannerConfiguration scanConfig) → Future<bool>
override
scanTipsDefaultItems() → Future<List<DocutainListItem>>
override
setAnalyzeConfiguration(AnalyzeConfiguration analyzeConfiguration) → Future<bool>
override
setLogLevel(Level level) → Future
override
startPhotoPayment(PhotoPaymentConfiguration paymentConfiguration) → Future<String?>
override
toString() → String
A string representation of this object.
inherited
writeImage(int page, String path, String fileName) → Future<File?>
override
writePDF(String path, String fileName, bool overwrite, PDFPageFormat pdfPageFormat) → Future<File?>
override

Operators

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