toJson method
Implementation
Map<String, dynamic> toJson() {
final attributeName = this.attributeName;
final deliveryMedium = this.deliveryMedium;
return {
if (attributeName != null) 'AttributeName': attributeName,
if (deliveryMedium != null) 'DeliveryMedium': deliveryMedium.toValue(),
};
}