decodeDestinyActivityDifficultyTier function

DestinyActivityDifficultyTier? decodeDestinyActivityDifficultyTier(
  1. dynamic value
)

Implementation

DestinyActivityDifficultyTier? decodeDestinyActivityDifficultyTier (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$DestinyActivityDifficultyTierValueMap.containsKey(value)){
    return _$DestinyActivityDifficultyTierValueMap[value];
  }

  return DestinyActivityDifficultyTier.ProtectedInvalidEnumValue;
}