CardScanOptions constructor

const CardScanOptions({
  1. bool scanExpiryDate = true,
  2. bool scanCardHolderName = false,
  3. int initialScansToDrop = 1,
  4. int validCardsToScanBeforeFinishingScan = 6,
  5. List<String> cardHolderNameBlackListedWords = const [],
  6. bool considerPastDatesInExpiryDateScan = false,
  7. int maxCardHolderNameLength = 26,
  8. bool enableLuhnCheck = true,
  9. bool enableDebugLogs = false,
  10. int cardScannerTimeOut = 0,
  11. List<CardHolderNameScanPosition> possibleCardHolderNamePositions = const [CardHolderNameScanPosition.belowCardNumber],
})

Implementation

const CardScanOptions(
    {this.scanExpiryDate = true,
    this.scanCardHolderName = false,
    this.initialScansToDrop = 1,
    this.validCardsToScanBeforeFinishingScan = 6,
    this.cardHolderNameBlackListedWords = const [],
    this.considerPastDatesInExpiryDateScan = false,
    this.maxCardHolderNameLength = 26,
    this.enableLuhnCheck = true,
    this.enableDebugLogs = false,
    this.cardScannerTimeOut = 0,
    this.possibleCardHolderNamePositions = const [CardHolderNameScanPosition.belowCardNumber]});