CardDetails.fromMap constructor
Implementation
CardDetails.fromMap(Map<String, String> map) {
_cardNumber = map['cardNumber'] ?? '';
_cardIssuer = CardUtils().getCardIssuer(_cardNumber).toString();
_cardHolderName = map['cardHolderName'] ?? '';
_expiryDate = map['expiryDate'] ?? '';
}