getLogsByLevel method

List<DebugConsoleLog> getLogsByLevel(
  1. DebugConsoleLevel level
)

Implementation

List<DebugConsoleLog> getLogsByLevel(DebugConsoleLevel level) {
  return logs.where((log) => log.level == level).toList();
}