productStatusBreakdownRefreshIntervalListToJson function
List<String>
productStatusBreakdownRefreshIntervalListToJson(
- List<
ProductStatusBreakdownRefreshInterval> ? productStatusBreakdownRefreshInterval
Implementation
List<String> productStatusBreakdownRefreshIntervalListToJson(
List<enums.ProductStatusBreakdownRefreshInterval>?
productStatusBreakdownRefreshInterval) {
if (productStatusBreakdownRefreshInterval == null) {
return [];
}
return productStatusBreakdownRefreshInterval
.map((e) => enums.$ProductStatusBreakdownRefreshIntervalMap[e]!)
.toList();
}