toAudioNormalizationAlgorithmControl method
Implementation
AudioNormalizationAlgorithmControl toAudioNormalizationAlgorithmControl() {
switch (this) {
case 'CORRECT_AUDIO':
return AudioNormalizationAlgorithmControl.correctAudio;
case 'MEASURE_ONLY':
return AudioNormalizationAlgorithmControl.measureOnly;
}
throw Exception(
'$this is not known in enum AudioNormalizationAlgorithmControl');
}