productStatusBreakdownRefreshIntervalFromJson function
ProductStatusBreakdownRefreshInterval
productStatusBreakdownRefreshIntervalFromJson(
- String? productStatusBreakdownRefreshInterval
Implementation
enums.ProductStatusBreakdownRefreshInterval
productStatusBreakdownRefreshIntervalFromJson(
String? productStatusBreakdownRefreshInterval) {
if (productStatusBreakdownRefreshInterval == null) {
return enums.ProductStatusBreakdownRefreshInterval.swaggerGeneratedUnknown;
}
return enums.$ProductStatusBreakdownRefreshIntervalMap.entries
.firstWhere(
(element) =>
element.value.toLowerCase() ==
productStatusBreakdownRefreshInterval.toLowerCase(),
orElse: () => const MapEntry(
enums.ProductStatusBreakdownRefreshInterval
.swaggerGeneratedUnknown,
''))
.key;
}