toAudioDescriptionLanguageCodeControl method

AudioDescriptionLanguageCodeControl toAudioDescriptionLanguageCodeControl()

Implementation

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