decodeDestinyScope function

DestinyScope? decodeDestinyScope(
  1. dynamic value
)

Implementation

DestinyScope? decodeDestinyScope (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$DestinyScopeValueMap.containsKey(value)){
    return _$DestinyScopeValueMap[value];
  }

  return DestinyScope.ProtectedInvalidEnumValue;
}