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