Card constructor

Card({
  1. required bool isDefaultPaymentMethod,
  2. required String paymentToken,
  3. required String cardScheme,
  4. required String name,
  5. required String expiryDate,
  6. required String cardNumber,
  7. required String nickName,
  8. required String cardHolderName,
})

Implementation

Card({
  required this.isDefaultPaymentMethod,
  required this.paymentToken,
  required this.cardScheme,
  required this.name,
  required this.expiryDate,
  required this.cardNumber,
  required this.nickName,
  required this.cardHolderName,
});