CardInfo constructor

CardInfo({
  1. required bool success,
  2. required String? cardData,
  3. required String? cardNumber,
  4. required String? cardExpiry,
  5. required String? holderFirstname,
  6. required String? holderLastname,
})

Creates a new CardInfo instance.

All parameters are required, though some may be null if the information is not available or could not be read from the card.

Implementation

CardInfo({
  required this.success,
  required this.cardData,
  required this.cardNumber,
  required this.cardExpiry,
  required this.holderFirstname,
  required this.holderLastname,
});