toTextType method

TextType toTextType()

Implementation

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