linkDeliveryDeliveryMethodListToJson function
List<String>
linkDeliveryDeliveryMethodListToJson(
- List<
LinkDeliveryDeliveryMethod> ? linkDeliveryDeliveryMethod
Implementation
List<String> linkDeliveryDeliveryMethodListToJson(
List<enums.LinkDeliveryDeliveryMethod>? linkDeliveryDeliveryMethod) {
if (linkDeliveryDeliveryMethod == null) {
return [];
}
return linkDeliveryDeliveryMethod
.map((e) => enums.$LinkDeliveryDeliveryMethodMap[e]!)
.toList();
}