findById method

HttpLogEntry? findById(
  1. int id
)

Implementation

HttpLogEntry? findById(int id) {
  try {
    return _logs.firstWhere((e) => e.id == id);
  } catch (_) {
    return null;
  }
}