discontinuedPackage flutter_document_scan_sdk has been discontinued and replaced by flutter_capture_vision.

capture method

PromiseJsImpl capture(
  1. dynamic data,
  2. String template
)

The data parameter can be a file object or a DSImageData object.

Implementation

external PromiseJsImpl<dynamic> capture(dynamic data, String template);