from static method
- RdfGraphDecoderOptions options
Creates an instance of NquadsDecoderOptions from generic decoder options.
This factory method ensures that when generic RdfDatasetDecoderOptions
are provided
to a method expecting N-Quads-specific options, they are properly converted.
The options
parameter contains the generic decoder options to convert.
Returns an instance of NquadsDecoderOptions.
Implementation
static NQuadsDecoderOptions from(RdfGraphDecoderOptions options) =>
switch (options) {
NQuadsDecoderOptions _ => options,
_ => NQuadsDecoderOptions(),
};