AdditionalProcessingInfo constructor

AdditionalProcessingInfo(
  1. Map<String, dynamic> nativeAdditionalProcessingInfo
)

Implementation

AdditionalProcessingInfo(Map<String, dynamic> nativeAdditionalProcessingInfo) {
      this.missingMandatoryFields = List<FieldType>.from(nativeAdditionalProcessingInfo['missingMandatoryFields'].map ((v) => FieldType.values[v]));
      this.invalidCharacterFields = List<FieldType>.from(nativeAdditionalProcessingInfo['invalidCharacterFields'].map ((v) => FieldType.values[v]));
      this.extraPresentFields = List<FieldType>.from(nativeAdditionalProcessingInfo['extraPresentFields'].map ((v) => FieldType.values[v]));
      this.imageExtractionFailures = List<ImageExtractionType>.from(nativeAdditionalProcessingInfo['imageExtractionFailures'].map ((v) => ImageExtractionType.values[v]));
  }