toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TextType.ssml:
      return 'ssml';
    case TextType.text:
      return 'text';
  }
}