isEmpty method
Implementation
bool isEmpty() {
return (number == null || number?.isEmpty == true) &&
expMonth == null &&
expYear == null &&
(cvc == null || cvc?.isEmpty == true);
}
bool isEmpty() {
return (number == null || number?.isEmpty == true) &&
expMonth == null &&
expYear == null &&
(cvc == null || cvc?.isEmpty == true);
}