ccSecurityCodeDefaults top-level constant
A mapping of possible credit card types to their respective security code defaults
Implementation
const Map<String, SecurityCode> ccSecurityCodeDefaults = {
TYPE_VISA: const SecurityCode.cvv(),
TYPE_MASTERCARD: const SecurityCode.cvc(),
TYPE_AMEX: const SecurityCode.cid4(),
TYPE_DISCOVER: const SecurityCode.cid3(),
TYPE_DINERS_CLUB: const SecurityCode.cvv(),
TYPE_JCB: const SecurityCode.cvv(),
TYPE_UNIONPAY: const SecurityCode.cvn(),
TYPE_MAESTRO: const SecurityCode.cvc(),
TYPE_ELO: const SecurityCode.cve(),
TYPE_MIR: const SecurityCode.cvp2(),
TYPE_HIPER: const SecurityCode.cvc(),
TYPE_HIPERCARD: const SecurityCode.cvc(),
};