decodeDestinyComponentType function

DestinyComponentType? decodeDestinyComponentType(
  1. dynamic value
)

Implementation

DestinyComponentType? decodeDestinyComponentType (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$DestinyComponentTypeValueMap.containsKey(value)){
    return _$DestinyComponentTypeValueMap[value];
  }

  return DestinyComponentType.ProtectedInvalidEnumValue;
}