CardScanOptions constructor

const CardScanOptions({
  1. bool scanExpiryDate = true,
  2. bool scanCardHolderName = false,
  3. int initialScansToDrop = 1,
  4. int validCardsToScanBeforeFinishingScan = 6,
  5. bool considerPastDatesInExpiryDateScan = false,
  6. int maxCardHolderNameLength = 26,
  7. bool enableLuhnCheck = true,
  8. bool enableDebugLogs = false,
  9. int cardScannerTimeOut = 0,
})

Implementation

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