CardDetails.blank constructor
CardDetails.blank()
Sets every field to null, a default
CardDetails
when nothing has been entered.
Implementation
factory CardDetails.blank() {
return CardDetails(
cardNumber: null,
securityCode: null,
expirationString: null,
postalCode: null);
}