productStatusBreakdownRefreshIntervalNullableListFromJson function
List<ProductStatusBreakdownRefreshInterval> ?
productStatusBreakdownRefreshIntervalNullableListFromJson(
- List? productStatusBreakdownRefreshInterval, [
- List<
ProductStatusBreakdownRefreshInterval> ? defaultValue
Implementation
List<enums.ProductStatusBreakdownRefreshInterval>?
productStatusBreakdownRefreshIntervalNullableListFromJson(
List? productStatusBreakdownRefreshInterval, [
List<enums.ProductStatusBreakdownRefreshInterval>? defaultValue,
]) {
if (productStatusBreakdownRefreshInterval == null) {
return defaultValue;
}
return productStatusBreakdownRefreshInterval
.map((e) => productStatusBreakdownRefreshIntervalFromJson(e.toString()))
.toList();
}