updateLog method

void updateLog(
  1. String id,
  2. DebugLogEntry updated
)

Implementation

void updateLog(String id, DebugLogEntry updated) {
  final index = _allLogs.indexWhere((e) => e.id == id);
  if (index != -1) {
    _allLogs[index] = updated;
    _applyFilter();
  }
}