logError method
Implementation
void logError(String message) {
_addLog(LogItem(
content: message,
type: LogItemType.error,
time: DateTime.now(),
));
}
void logError(String message) {
_addLog(LogItem(
content: message,
type: LogItemType.error,
time: DateTime.now(),
));
}