toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bundleDetails != null) 'bundleDetails': bundleDetails!,
      if (finiteBillingCycleDetails != null)
        'finiteBillingCycleDetails': finiteBillingCycleDetails!,
      if (name != null) 'name': name!,
      if (priceConfigs != null) 'priceConfigs': priceConfigs!,
      if (productType != null) 'productType': productType!,
      if (regionCodes != null) 'regionCodes': regionCodes!,
      if (subscriptionBillingCycleDuration != null)
        'subscriptionBillingCycleDuration': subscriptionBillingCycleDuration!,
      if (titles != null) 'titles': titles!,
    };