toAudioNormalizationPeakCalculation method
Implementation
AudioNormalizationPeakCalculation toAudioNormalizationPeakCalculation() {
switch (this) {
case 'TRUE_PEAK':
return AudioNormalizationPeakCalculation.truePeak;
case 'NONE':
return AudioNormalizationPeakCalculation.none;
}
throw Exception(
'$this is not known in enum AudioNormalizationPeakCalculation');
}