toAdditionalResultAttributeValueType method

AdditionalResultAttributeValueType toAdditionalResultAttributeValueType()

Implementation

AdditionalResultAttributeValueType toAdditionalResultAttributeValueType() {
  switch (this) {
    case 'TEXT_WITH_HIGHLIGHTS_VALUE':
      return AdditionalResultAttributeValueType.textWithHighlightsValue;
  }
  throw Exception(
      '$this is not known in enum AdditionalResultAttributeValueType');
}