decodeHostGuidedGamesPermissionLevel function

HostGuidedGamesPermissionLevel? decodeHostGuidedGamesPermissionLevel(
  1. dynamic value
)

Implementation

HostGuidedGamesPermissionLevel? decodeHostGuidedGamesPermissionLevel (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$HostGuidedGamesPermissionLevelValueMap.containsKey(value)){
    return _$HostGuidedGamesPermissionLevelValueMap[value];
  }

  return HostGuidedGamesPermissionLevel.ProtectedInvalidEnumValue;
}