decodeDestinyMilestoneDisplayPreference function

DestinyMilestoneDisplayPreference? decodeDestinyMilestoneDisplayPreference(
  1. dynamic value
)

Implementation

DestinyMilestoneDisplayPreference? decodeDestinyMilestoneDisplayPreference (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$DestinyMilestoneDisplayPreferenceValueMap.containsKey(value)){
    return _$DestinyMilestoneDisplayPreferenceValueMap[value];
  }

  return DestinyMilestoneDisplayPreference.ProtectedInvalidEnumValue;
}