CardDetails constructor

CardDetails({
  1. required String? cardNumber,
  2. required String? securityCode,
  3. required String? expirationString,
  4. required String? postalCode,
})

Implementation

CardDetails({
  required String? cardNumber,
  required this.securityCode,
  required this.expirationString,
  required this.postalCode,
}) : _cardNumber = cardNumber {
  checkIsValid();
}