See RaylibAudioDart.ExportWave.
bool ExportWave( WaveD wave, String fileName, ) => _module.ExportWave(wave, fileName);