AnylinePlugin class
Entrypoint for performing any scans using the Anyline OCR library.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
initSdk(
String licenseKey, {bool enableOfflineCache = false}) → Future< bool?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCustomModelsPath(
String customModelsPath) → void -
setViewConfigsPath(
String viewConfigsPath) → void -
startScanning(
String configJson, [String? initializationParams]) → Future< String?> -
Starts the Anyline SDK and invokes the scanning process with the given
configJson
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
pluginVersion
→ Future<
String> -
Returns the Anyline Plugin version.
no setter
-
sdkVersion
→ Future<
String?> -
Returns the Anyline SDK version the plugin currently is powered by.
no setter
Static Methods
-
exportCachedEvents(
) → Future< String?> -
getLicenseExpiryDate(
String base64License) → String? - Decodes the license and returns the expiration date.