toValue method
Implementation
String toValue() {
switch (this) {
case TextTypes.line:
return 'LINE';
case TextTypes.word:
return 'WORD';
}
}
String toValue() {
switch (this) {
case TextTypes.line:
return 'LINE';
case TextTypes.word:
return 'WORD';
}
}