toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['first_6digits'] = this.first6digits;
data['last_4digits'] = this.last4digits;
data['issuer'] = this.issuer;
data['country'] = this.country;
data['type'] = this.type;
data['expiry'] = this.expiry;
return data;
}