toMap method

  1. @override
Map<String, dynamic> toMap()
override

Implementation

@override
Map<String, dynamic> toMap() {
  Map<String, dynamic> product = this.product.toMap();
  return <String, dynamic>{
    "product": product,
    'transactionID': transactionID,
    'originalTransactionID': originalTransactionID,
    'price': price,
    'currencyCode': currencyCode,
  };
}