CreditCardInfo constructor

CreditCardInfo(
  1. {@required String id,
  2. @required String cardHoldname,
  3. @required String creditNumber,
  4. @required String cvv,
  5. @required String expiryDate,
  6. @required CardType cardtype,
  7. CardBrand type,
  8. double width,
  9. double height,
  10. Color color,
  11. bool flipped,
  12. String name = ""}
)

Implementation

CreditCardInfo({
  @required this.id,
  @required this.cardHoldname,
  @required this.creditNumber,
  @required this.cvv,
  @required this.expiryDate,
  @required this.cardtype,
  this.type,
  this.width,
  this.height,
  this.color,
  this.flipped,
  this.name = "",
});