CreditCardType constructor

const CreditCardType({
  1. required String brand,
  2. required String mask,
  3. required List<int> lengths,
  4. required CreditCardCode code,
  5. required Set<Range> patterns,
  6. bool checkLuhn = true,
  7. List<String> extraBrands = const <String>[],
})

Implementation

const CreditCardType({
  required this.brand,
  required this.mask,
  required this.lengths,
  required this.code,
  required this.patterns,
  this.checkLuhn = true,
  this.extraBrands = const <String>[],
});