getOldPurchaseDetails abstract method

GooglePlayPurchaseDetails? getOldPurchaseDetails(
  1. ProductDetails details
)

This Checks the user's old subscription in Android platform

In case of Apple Platform it handles this internally

*productDetails Represent product user wants to buy

*oldProductId Previous Purchased product ID

Returns GooglePlayPurchaseDetails

Implementation

GooglePlayPurchaseDetails? getOldPurchaseDetails(ProductDetails details);