updatePurchaseWithProduct abstract method
Future<Map<String, QEntitlement> ?>
updatePurchaseWithProduct({
- required QProduct newProduct,
- required String oldProductId,
- QProrationMode? prorationMode,
Android only. Returns null
if called on iOS.
Upgrading, downgrading, or changing a subscription on Google Play Store requires calling updatePurchaseWithProduct() function.
See Google Play Documentation for more details.
Implementation
Future<Map<String, QEntitlement>?> updatePurchaseWithProduct({
required QProduct newProduct,
required String oldProductId,
QProrationMode? prorationMode,
});