CreditCardInfo.empty constructor

CreditCardInfo.empty(
  1. {String id = "0",
  2. String name = "",
  3. String cardHoldname = '',
  4. String creditNumber = '',
  5. String cvv = '',
  6. String expiryDate = '',
  7. double height,
  8. double width,
  9. CardType cardtype = CardType.credit,
  10. String email = '',
  11. double credit = 0.0,
  12. Color color = Colors.black,
  13. CardBrand type = CardBrand.MASTERCARD}
)

Implementation

CreditCardInfo.empty(
    {this.id = "0",
    this.name = "",
    this.cardHoldname = '',
    this.creditNumber = '',
    this.cvv = '',
    this.expiryDate = '',
    this.height,
    this.width,
    this.cardtype = CardType.credit,
    this.email = '',
    this.credit = 0.0,
    this.color = Colors.black,
    this.type = CardBrand.MASTERCARD});