toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      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 (restockingFee != null) 'restockingFee': restockingFee!,
      if (returnMethods != null) 'returnMethods': returnMethods!,
      if (returnPolicyId != null) 'returnPolicyId': returnPolicyId!,
      if (returnPolicyUri != null) 'returnPolicyUri': returnPolicyUri!,
      if (returnReasonCategoryInfo != null)
        'returnReasonCategoryInfo': returnReasonCategoryInfo!,
    };