getLogsByTag static method

List<LogEntry> getLogsByTag(
  1. String tag
)

Get logs filtered by tag.

Implementation

static List<LogEntry> getLogsByTag(String tag) {
  return _logs.where((l) => l.tag == tag).toList();
}