See RaylibAudioDart.IsAudioStreamValid.
bool IsAudioStreamValid( AudioStream stream, ) => _module.IsAudioStreamValid(stream);