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