decodeItemLocation function

ItemLocation? decodeItemLocation(
  1. dynamic value
)

Implementation

ItemLocation? decodeItemLocation (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$ItemLocationValueMap.containsKey(value)){
    return _$ItemLocationValueMap[value];
  }

  return ItemLocation.ProtectedInvalidEnumValue;
}