clearLogs method
void
clearLogs()
Implementation
void clearLogs() {
state = [];
if (_hiveInitialized) {
try {
final box = Hive.box<DevLogModel>(_boxName);
box.clear();
} catch (e) {
print('Failed to clear persisted logs: $e');
}
}
}