CreditCard constructor

CreditCard({
  1. required String number,
  2. String? last4,
  3. String? bin,
  4. String? cardHolderName,
  5. String? expiresOn,
  6. String? scheme,
  7. required int expiryMonth,
  8. required int expiryYear,
  9. required String cvv,
})

Implementation

CreditCard({
  required this.number,
  this.last4,
  this.bin,
  this.cardHolderName,
  this.expiresOn,
  this.scheme,
  required this.expiryMonth,
  required this.expiryYear,
  required this.cvv,
});