SubscriptionOfferAndroid.fromJSON constructor

SubscriptionOfferAndroid.fromJSON(
  1. Map<String, dynamic> json
)

Implementation

SubscriptionOfferAndroid.fromJSON(Map<String, dynamic> json)
    : offerId = json["offerId"] as String?,
      basePlanId = json["basePlanId"] as String?,
      offerToken = json["offerToken"] as String?,
      pricingPhases = _extractAndroidPricingPhase(json["pricingPhases"]);