RdfCore constructor
- required RdfCodecRegistry registry,
Creates a new RDF library instance with the given components
This constructor enables full dependency injection, allowing for:
- Custom codec registries
- Mock implementations for testing
For standard usage, see RdfCore.withStandardCodecs.
The registry
parameter is the codec registry that manages available RDF codecs.
Implementation
RdfCore({required RdfCodecRegistry registry}) : _registry = registry;