toAudioLanguageCodeControl method

AudioLanguageCodeControl toAudioLanguageCodeControl()

Implementation

AudioLanguageCodeControl toAudioLanguageCodeControl() {
  switch (this) {
    case 'FOLLOW_INPUT':
      return AudioLanguageCodeControl.followInput;
    case 'USE_CONFIGURED':
      return AudioLanguageCodeControl.useConfigured;
  }
  throw Exception('$this is not known in enum AudioLanguageCodeControl');
}