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