toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (applicableProducts != null)
        'applicableProducts': applicableProducts!,
      if (endTime != null) 'endTime': endTime!,
      if (freeTrialDuration != null) 'freeTrialDuration': freeTrialDuration!,
      if (introductoryPricingDetails != null)
        'introductoryPricingDetails': introductoryPricingDetails!,
      if (name != null) 'name': name!,
      if (promotionType != null) 'promotionType': promotionType!,
      if (regionCodes != null) 'regionCodes': regionCodes!,
      if (startTime != null) 'startTime': startTime!,
      if (titles != null) 'titles': titles!,
    };