VirtualCreditCardWeb constructor
VirtualCreditCardWeb({})
Implementation
VirtualCreditCardWeb(
{required String cardNumber,
required String cardHolderName,
required String expiryMonth,
required String expiryYear,
required String cvv,
bool? showShadow,
Color? backgroundColor}) {
this.cardNumber = cardNumber;
this.cardHolderName = cardHolderName;
this.expiryMonth = expiryMonth;
this.expiryYear = expiryYear;
this.cvv = cvv;
if (showShadow != null) {
this.showShadow = showShadow;
}
if (backgroundColor != null) {
this.backgroundColor = backgroundColor;
}
}