toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (acceptDefectiveOnly != null)
    'acceptDefectiveOnly': acceptDefectiveOnly!,
  if (acceptExchange != null) 'acceptExchange': acceptExchange!,
  if (countries != null) 'countries': countries!,
  if (itemConditions != null) 'itemConditions': itemConditions!,
  if (label != null) 'label': label!,
  if (name != null) 'name': name!,
  if (policy != null) 'policy': policy!,
  if (processRefundDays != null) 'processRefundDays': processRefundDays!,
  if (restockingFee != null) 'restockingFee': restockingFee!,
  if (returnLabelSource != null) 'returnLabelSource': returnLabelSource!,
  if (returnMethods != null) 'returnMethods': returnMethods!,
  if (returnPolicyId != null) 'returnPolicyId': returnPolicyId!,
  if (returnPolicyUri != null) 'returnPolicyUri': returnPolicyUri!,
  if (returnShippingFee != null) 'returnShippingFee': returnShippingFee!,
  if (seasonalOverrides != null) 'seasonalOverrides': seasonalOverrides!,
};