toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TextType.handwriting:
      return 'HANDWRITING';
    case TextType.printed:
      return 'PRINTED';
  }
}