toLogType method

LogType toLogType()

Implementation

LogType toLogType() {
  switch (this) {
    case 'None':
      return LogType.none;
    case 'Tail':
      return LogType.tail;
  }
  throw Exception('$this is not known in enum LogType');
}