toJson method
Implementation
Map<String, dynamic> toJson() => {
"offerIdToken": offerIdToken,
"basePlanId": basePlanId,
"offerId": offerId,
"pricingPhases": List<dynamic>.from(pricingPhases.map((x) => x?.toJson())),
"offerTags": List<dynamic>.from(offerTags.map((x) => x)),
};