toVoiceId method
Implementation
VoiceId toVoiceId() {
switch (this) {
case 'Aditi':
return VoiceId.aditi;
case 'Amy':
return VoiceId.amy;
case 'Astrid':
return VoiceId.astrid;
case 'Bianca':
return VoiceId.bianca;
case 'Brian':
return VoiceId.brian;
case 'Camila':
return VoiceId.camila;
case 'Carla':
return VoiceId.carla;
case 'Carmen':
return VoiceId.carmen;
case 'Celine':
return VoiceId.celine;
case 'Chantal':
return VoiceId.chantal;
case 'Conchita':
return VoiceId.conchita;
case 'Cristiano':
return VoiceId.cristiano;
case 'Dora':
return VoiceId.dora;
case 'Emma':
return VoiceId.emma;
case 'Enrique':
return VoiceId.enrique;
case 'Ewa':
return VoiceId.ewa;
case 'Filiz':
return VoiceId.filiz;
case 'Geraint':
return VoiceId.geraint;
case 'Giorgio':
return VoiceId.giorgio;
case 'Gwyneth':
return VoiceId.gwyneth;
case 'Hans':
return VoiceId.hans;
case 'Ines':
return VoiceId.ines;
case 'Ivy':
return VoiceId.ivy;
case 'Jacek':
return VoiceId.jacek;
case 'Jan':
return VoiceId.jan;
case 'Joanna':
return VoiceId.joanna;
case 'Joey':
return VoiceId.joey;
case 'Justin':
return VoiceId.justin;
case 'Karl':
return VoiceId.karl;
case 'Kendra':
return VoiceId.kendra;
case 'Kevin':
return VoiceId.kevin;
case 'Kimberly':
return VoiceId.kimberly;
case 'Lea':
return VoiceId.lea;
case 'Liv':
return VoiceId.liv;
case 'Lotte':
return VoiceId.lotte;
case 'Lucia':
return VoiceId.lucia;
case 'Lupe':
return VoiceId.lupe;
case 'Mads':
return VoiceId.mads;
case 'Maja':
return VoiceId.maja;
case 'Marlene':
return VoiceId.marlene;
case 'Mathieu':
return VoiceId.mathieu;
case 'Matthew':
return VoiceId.matthew;
case 'Maxim':
return VoiceId.maxim;
case 'Mia':
return VoiceId.mia;
case 'Miguel':
return VoiceId.miguel;
case 'Mizuki':
return VoiceId.mizuki;
case 'Naja':
return VoiceId.naja;
case 'Nicole':
return VoiceId.nicole;
case 'Olivia':
return VoiceId.olivia;
case 'Penelope':
return VoiceId.penelope;
case 'Raveena':
return VoiceId.raveena;
case 'Ricardo':
return VoiceId.ricardo;
case 'Ruben':
return VoiceId.ruben;
case 'Russell':
return VoiceId.russell;
case 'Salli':
return VoiceId.salli;
case 'Seoyeon':
return VoiceId.seoyeon;
case 'Takumi':
return VoiceId.takumi;
case 'Tatyana':
return VoiceId.tatyana;
case 'Vicki':
return VoiceId.vicki;
case 'Vitoria':
return VoiceId.vitoria;
case 'Zeina':
return VoiceId.zeina;
case 'Zhiyu':
return VoiceId.zhiyu;
}
throw Exception('$this is not known in enum VoiceId');
}