CardScanOptions constructor
const
CardScanOptions({
- bool scanExpiryDate = true,
- bool scanCardHolderName = false,
- int initialScansToDrop = 1,
- int validCardsToScanBeforeFinishingScan = 6,
- List<
String> cardHolderNameBlackListedWords = const [], - bool considerPastDatesInExpiryDateScan = false,
- int maxCardHolderNameLength = 26,
- bool enableLuhnCheck = true,
- bool enableDebugLogs = false,
- int cardScannerTimeOut = 0,
- 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]});