toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (freeTrialDuration != null) 'freeTrialDuration': freeTrialDuration!,
  if (introductoryPricingDetails != null)
    'introductoryPricingDetails': introductoryPricingDetails!,
  if (promotion != null) 'promotion': promotion!,
  if (type != null) 'type': type!,
};