linkDeliveryDeliveryMethodNullableListFromJson function
List<LinkDeliveryDeliveryMethod> ?
linkDeliveryDeliveryMethodNullableListFromJson(
- List? linkDeliveryDeliveryMethod, [
- List<
LinkDeliveryDeliveryMethod> ? defaultValue
Implementation
List<enums.LinkDeliveryDeliveryMethod>?
linkDeliveryDeliveryMethodNullableListFromJson(
List? linkDeliveryDeliveryMethod, [
List<enums.LinkDeliveryDeliveryMethod>? defaultValue,
]) {
if (linkDeliveryDeliveryMethod == null) {
return defaultValue;
}
return linkDeliveryDeliveryMethod
.map((e) => linkDeliveryDeliveryMethodFromJson(e.toString()))
.toList();
}