toJson method
Implementation
Map<String, dynamic> toJson() {
final deliveryUri = this.deliveryUri;
final endpointTypes = this.endpointTypes;
return {
'DeliveryUri': deliveryUri,
if (endpointTypes != null)
'EndpointTypes': endpointTypes.map((e) => e.toValue()).toList(),
};
}