Future<void> remove(String path) async { final int index = _box!.values.toList().indexOf(path); await _box!.deleteAt(index); }