getOcrText method

  1. @override
Future<String?> getOcrText()
override

Get the latest OCR recognized text (newline-separated lines).

Implementation

@override
Future<String?> getOcrText() async {
  final text = await methodChannel.invokeMethod<String>('getOcrText');
  return text;
}