toAudioTypeControl method

AudioTypeControl toAudioTypeControl()

Implementation

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