expMonth property

int expMonth

getter to retrieve the expiration month from the expiration string

Implementation

int get expMonth => int.parse(cardExpiry.split('/')[0]);