expMonth property
int
expMonth
getter to retrieve the expiration month from the expiration string
Implementation
int get expMonth => int.parse(cardExpiry.split('/')[0]);
getter to retrieve the expiration month from the expiration string
int get expMonth => int.parse(cardExpiry.split('/')[0]);