startOCR method
Method to start OCR by calling the native platform's implementation.
Implementation
@override
Future<String?> startOCR(Map<String, dynamic> params) async {
try {
final result = await methodChannel.invokeMethod<String>('startOCR', params);
return result;
} catch (e) {
if (kDebugMode) {
print("Failed to start OCR: $e");
}
return null;
}
}