ScanOptions constructor
const
ScanOptions({
- bool scanExpiryDate = true,
- bool scanCardHolderName = true,
- int initialScansToDrop = 1,
- int validCardsToScanBeforeFinishingScan = 1,
- List<
String> cardHolderNameBlackListedWords = const [], - bool considerPastDatesInExpiryDateScan = false,
- int maxCardHolderNameLength = 26,
- bool enableLuhnCheck = true,
- bool enableDebugLogs = false,
- int cardScannerTimeOut = 0,
- List<
CardHolderPosition> possibleCardHolderNamePositions = const [CardHolderPosition.belowCardNumber],
Implementation
const ScanOptions(
{this.scanExpiryDate = true,
this.scanCardHolderName = true,
this.initialScansToDrop = 1,
this.validCardsToScanBeforeFinishingScan = 1,
this.cardHolderNameBlackListedWords = const [],
this.considerPastDatesInExpiryDateScan = false,
this.maxCardHolderNameLength = 26,
this.enableLuhnCheck = true,
this.enableDebugLogs = false,
this.cardScannerTimeOut = 0,
this.possibleCardHolderNamePositions = const [
CardHolderPosition.belowCardNumber
]});