toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apiproduct != null) 'apiproduct': apiproduct!,
      if (billingPeriod != null) 'billingPeriod': billingPeriod!,
      if (consumptionPricingRates != null)
        'consumptionPricingRates': consumptionPricingRates!,
      if (consumptionPricingType != null)
        'consumptionPricingType': consumptionPricingType!,
      if (createdAt != null) 'createdAt': createdAt!,
      if (currencyCode != null) 'currencyCode': currencyCode!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (endTime != null) 'endTime': endTime!,
      if (fixedFeeFrequency != null) 'fixedFeeFrequency': fixedFeeFrequency!,
      if (fixedRecurringFee != null) 'fixedRecurringFee': fixedRecurringFee!,
      if (lastModifiedAt != null) 'lastModifiedAt': lastModifiedAt!,
      if (name != null) 'name': name!,
      if (paymentFundingModel != null)
        'paymentFundingModel': paymentFundingModel!,
      if (revenueShareRates != null) 'revenueShareRates': revenueShareRates!,
      if (revenueShareType != null) 'revenueShareType': revenueShareType!,
      if (setupFee != null) 'setupFee': setupFee!,
      if (startTime != null) 'startTime': startTime!,
      if (state != null) 'state': state!,
    };