decodeDestinyClass function

DestinyClass? decodeDestinyClass(
  1. dynamic value
)

Implementation

DestinyClass? decodeDestinyClass (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$DestinyClassValueMap.containsKey(value)){
    return _$DestinyClassValueMap[value];
  }

  return DestinyClass.ProtectedInvalidEnumValue;
}