version property

dynamic get version

Returns the version of the Tesseract library.

Implementation

static get version {
  final tesseract = Tesseract();
  try {
    final v = bindings.flusseract.Version(tesseract.handle);
    final version = v.cast<Utf8>().toDartString();
    return version;
  } finally {
    tesseract.dispose();
  }
}