toTextType method
Implementation
TextType toTextType() {
switch (this) {
case 'ssml':
return TextType.ssml;
case 'text':
return TextType.text;
}
throw Exception('$this is not known in enum TextType');
}
TextType toTextType() {
switch (this) {
case 'ssml':
return TextType.ssml;
case 'text':
return TextType.text;
}
throw Exception('$this is not known in enum TextType');
}