toMap method
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,
};
}