updatePurchase abstract method
Future<Map<String, QEntitlement> ?>
updatePurchase({
- required String newProductId,
- 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 updatePurchase() function.
See Google Play Documentation for more details.
Implementation
Future<Map<String, QEntitlement>?> updatePurchase({
required String newProductId,
required String oldProductId,
QProrationMode? prorationMode,
});