productStatusBreakdownRefreshIntervalListFromJson function

List<ProductStatusBreakdownRefreshInterval> productStatusBreakdownRefreshIntervalListFromJson(
  1. List? productStatusBreakdownRefreshInterval
)

Implementation

List<enums.ProductStatusBreakdownRefreshInterval>
    productStatusBreakdownRefreshIntervalListFromJson(
        List? productStatusBreakdownRefreshInterval) {
  if (productStatusBreakdownRefreshInterval == null) {
    return [];
  }

  return productStatusBreakdownRefreshInterval
      .map((e) => productStatusBreakdownRefreshIntervalFromJson(e.toString()))
      .toList();
}