decodeDestinyEnergyType function

DestinyEnergyType? decodeDestinyEnergyType(
  1. dynamic value
)

Implementation

DestinyEnergyType? decodeDestinyEnergyType (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$DestinyEnergyTypeValueMap.containsKey(value)){
    return _$DestinyEnergyTypeValueMap[value];
  }

  return DestinyEnergyType.ProtectedInvalidEnumValue;
}