toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    'requiredBillingContactFields': requiredBillingContactFields?.map((e) => e.toString().split('.').last).toList(),
    'requiredShippingContactFields': requiredShippingContactFields?.map((e) => e.toString().split('.').last).toList(),
  };
}