textRecognizer method

TextRecognizer textRecognizer()

Creates an instance of TextRecognizer.

Implementation

TextRecognizer textRecognizer() {
  return TextRecognizer._(
    modelType: ModelType.onDevice,
    handle: nextHandle++,
  );
}