DocumentDataExtractorConfiguration constructor

DocumentDataExtractorConfiguration({
  1. ResultAccumulationConfiguration? resultAccumulationConfig,
  2. List<String>? fieldExcludeList,
  3. List<DocumentDataExtractorConfigurationElement>? configurations,
  4. bool returnCrops = false,
  5. DocumentTrustMode documentTrustMode = DocumentTrustMode.TRUSTED,
  6. ProcessingMode processingMode = ProcessingMode.AUTO,
})

Implementation

DocumentDataExtractorConfiguration({
  ResultAccumulationConfiguration? resultAccumulationConfig,
  List<String>? fieldExcludeList,
  List<DocumentDataExtractorConfigurationElement>? configurations,
  this.returnCrops = false,
  this.documentTrustMode = DocumentTrustMode.TRUSTED,
  this.processingMode = ProcessingMode.AUTO,
})  : resultAccumulationConfig =
          resultAccumulationConfig ?? ResultAccumulationConfiguration(),
      fieldExcludeList = fieldExcludeList ?? [],
      configurations =
          configurations ?? [DocumentDataExtractorCommonConfiguration()];