toAudioDescriptionAudioTypeControl method

AudioDescriptionAudioTypeControl toAudioDescriptionAudioTypeControl()

Implementation

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