bool isEqual(LogInfo? other) { if (other == null) return false; if (identical(this, other)) return true; return error == other.error && text == other.text; }