expYear property
int
expYear
getter to retrive the year from expiration string
Implementation
int get expYear => int.parse(cardExpiry.split('/')[1]) + 2000;
getter to retrive the year from expiration string
int get expYear => int.parse(cardExpiry.split('/')[1]) + 2000;