decodeDestinySocketVisibility function

DestinySocketVisibility? decodeDestinySocketVisibility(
  1. dynamic value
)

Implementation

DestinySocketVisibility? decodeDestinySocketVisibility (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$DestinySocketVisibilityValueMap.containsKey(value)){
    return _$DestinySocketVisibilityValueMap[value];
  }

  return DestinySocketVisibility.ProtectedInvalidEnumValue;
}