toMap property
Implementation
Map<String, String?> get toMap {
Map<String, String?> purchaseMap = new Map<String, String?>();
if (_productId != null) {
purchaseMap['productId'] = _productId;
}
if (_transactionId != null) {
purchaseMap['transactionId'] = _transactionId;
}
return purchaseMap;
}