toJson method
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(),
};
}