MethodChannelArtemisOcrScanner class
An implementation of ArtemisOcrScannerPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- ArtemisOcrScannerPlatform
- MethodChannelArtemisOcrScanner
Constructors
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
-
changeCameraVisibility(
bool visibility) → Future< void> -
override
-
changeFlashMode(
FlashMode flashMode) → Future< void> -
override
-
dispose(
) → Future< void> -
override
-
getCameraPermission(
) → Future< bool?> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
initCamera(
{required FlashMode initFlash, required bool fill, required CameraType cameraType, required UsageMode mode}) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pauseCamera(
) → Future< void> -
override
-
processImageFromPath(
[String path = ""]) → Future< OcrData?> -
override
-
resumeCamera(
) → Future< void> -
override
-
setMethodCallHandler(
Future handler(MethodCall call)?) → Future< void> -
override
-
takePicture(
[String path = ""]) → Future< String?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited