isCardValid abstract method

Future<bool> isCardValid({
  1. required String cardNumber,
  2. required String dueMonth,
  3. required String dueYear,
  4. required String cvv,
})

Verify card information

cardNumber is the card number dueMonth is the month of the card's expiration date dueYear is the year of the card's expiration date cvv is the card's CVV(Card Verification Value)

return bool with value true if the card is valid return bool with value false if the card is invalid

Implementation

Future<bool> isCardValid({
  required String cardNumber,
  required String dueMonth,
  required String dueYear,
  required String cvv,
});