toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['cardNumber'] = cardNumber;
  data['cardExpMonth'] = cardExpMonth;
  data['cardExpYear'] = cardExpYear;
  data['tokenId'] = tokenId;
  return data;
}