toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (country != null) 'country': country!,
      if (kind != null) 'kind': kind!,
      if (label != null) 'label': label!,
      if (name != null) 'name': name!,
      if (nonFreeReturnReasons != null)
        'nonFreeReturnReasons': nonFreeReturnReasons!,
      if (policy != null) 'policy': policy!,
      if (returnPolicyId != null) 'returnPolicyId': returnPolicyId!,
      if (returnShippingFee != null) 'returnShippingFee': returnShippingFee!,
      if (seasonalOverrides != null) 'seasonalOverrides': seasonalOverrides!,
    };