PortalFlowsRetention.fromJson constructor
PortalFlowsRetention.fromJson(
- Object? json
Implementation
factory PortalFlowsRetention.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PortalFlowsRetention(
couponOffer: map['coupon_offer'] == null
? null
: PortalFlowsCouponOffer.fromJson(map['coupon_offer']));
}