toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SpeechMarkType.sentence:
      return 'sentence';
    case SpeechMarkType.ssml:
      return 'ssml';
    case SpeechMarkType.viseme:
      return 'viseme';
    case SpeechMarkType.word:
      return 'word';
  }
}