toLogType method

LogType toLogType()

Implementation

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