decodeItemPerkVisibility function

ItemPerkVisibility? decodeItemPerkVisibility(
  1. dynamic value
)

Implementation

ItemPerkVisibility? decodeItemPerkVisibility (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$ItemPerkVisibilityValueMap.containsKey(value)){
    return _$ItemPerkVisibilityValueMap[value];
  }

  return ItemPerkVisibility.ProtectedInvalidEnumValue;
}