init method

Future<int> init(
  1. String key
)

Configure Dynamsoft Document Normalizer. Returns 0 if successful.

Implementation

Future<int> init(String key) async {
  // DocumentNormalizer.engineResourcePath = path;
  DocumentNormalizer.license = key;

  _normalizer = await handleThenable(DocumentNormalizer.createInstance());

  return 0;
}