toAudioType method
Implementation
AudioType toAudioType() {
switch (this) {
case 'CLEAN_EFFECTS':
return AudioType.cleanEffects;
case 'HEARING_IMPAIRED':
return AudioType.hearingImpaired;
case 'UNDEFINED':
return AudioType.undefined;
case 'VISUAL_IMPAIRED_COMMENTARY':
return AudioType.visualImpairedCommentary;
}
throw Exception('$this is not known in enum AudioType');
}