isCcvValid method
Implementation
bool isCcvValid() {
try {
int.parse(cvv);
} catch (_) {
return false;
}
return cvv.length == 3 || cvv.length == 4;
}
bool isCcvValid() {
try {
int.parse(cvv);
} catch (_) {
return false;
}
return cvv.length == 3 || cvv.length == 4;
}