toVoiceRecordingTrack method
Implementation
VoiceRecordingTrack toVoiceRecordingTrack() {
switch (this) {
case 'FROM_AGENT':
return VoiceRecordingTrack.fromAgent;
case 'TO_AGENT':
return VoiceRecordingTrack.toAgent;
case 'ALL':
return VoiceRecordingTrack.all;
}
throw Exception('$this is not known in enum VoiceRecordingTrack');
}