CreditCard constructor

CreditCard({
  1. required String number,
  2. required String name,
  3. required String expiryMonth,
  4. required String expiryYear,
  5. required String cvc,
})

Implementation

CreditCard(
    {required this.number,
    required this.name,
    required this.expiryMonth,
    required this.expiryYear,
    required this.cvc});