needsAppleCancel property

bool get needsAppleCancel

Whether this offer requires Apple subscription cancellation post-checkout. Mirrors Offer.OfferData.needsAppleCancel.

Implementation

bool get needsAppleCancel {
  switch (flowType) {
    case OfferFlowType.migration:
      return true;
    case OfferFlowType.upgrade:
      return upgradeType == OfferUpgradeType.storekitToWeb;
  }
}