Files
fil/docs/snippets/dart/plugins/clear_plugins.md
Henrik Jess Nielsen b4c07d3693
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s
Nomad changes
2026-06-01 23:40:55 +02:00

17 lines
603 B
Markdown

```dart title="Dart"
import 'package:kreuzberg/kreuzberg.dart';
Future<void> main() async {
// The Dart binding exposes bulk-clear entry points for OCR backends,
// post-processors, and validators. Document-extractor clearing is not
// surfaced through flutter_rust_bridge; the built-in extractors are
// registered automatically by the kreuzberg core when the library
// initializes.
await KreuzbergBridge.clearOcrBackends();
await KreuzbergBridge.clearPostProcessors();
await KreuzbergBridge.clearValidators();
print('OCR backends, post-processors, and validators cleared');
}
```