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