toHighlightType method
Implementation
HighlightType toHighlightType() {
switch (this) {
case 'STANDARD':
return HighlightType.standard;
case 'THESAURUS_SYNONYM':
return HighlightType.thesaurusSynonym;
}
throw Exception('$this is not known in enum HighlightType');
}