toLogType method
Implementation
LogType toLogType() {
switch (this) {
case 'AUDIO':
return LogType.audio;
case 'TEXT':
return LogType.text;
}
throw Exception('$this is not known in enum LogType');
}
LogType toLogType() {
switch (this) {
case 'AUDIO':
return LogType.audio;
case 'TEXT':
return LogType.text;
}
throw Exception('$this is not known in enum LogType');
}