decodeDestinyPresentationDisplayStyle function

DestinyPresentationDisplayStyle? decodeDestinyPresentationDisplayStyle(
  1. dynamic value
)

Implementation

DestinyPresentationDisplayStyle? decodeDestinyPresentationDisplayStyle (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$DestinyPresentationDisplayStyleValueMap.containsKey(value)){
    return _$DestinyPresentationDisplayStyleValueMap[value];
  }

  return DestinyPresentationDisplayStyle.ProtectedInvalidEnumValue;
}