JsonLdGraphDecoderOptions constructor

const JsonLdGraphDecoderOptions({
  1. NamedGraphHandling namedGraphHandling = NamedGraphHandling.strict,
  2. NamedGraphLogLevel? logLevel,
  3. JsonLdContextDocumentProvider? contextDocumentProvider,
  4. String? baseUri,
  5. JsonValue? expandContext,
  6. RdfDirection? rdfDirection,
  7. JsonLdProcessingMode processingMode = JsonLdProcessingMode.jsonLd11,
  8. bool skipInvalidRdfTerms = false,
})

Creates a new JSON-LD decoder options object

namedGraphHandling controls what happens when named graphs are encountered. Defaults to NamedGraphHandling.strict.

logLevel controls logging verbosity. If null, uses sensible defaults based on the handling mode.

Implementation

const JsonLdGraphDecoderOptions({
  this.namedGraphHandling = NamedGraphHandling.strict,
  this.logLevel,
  this.contextDocumentProvider,
  this.baseUri,
  this.expandContext,
  this.rdfDirection,
  this.processingMode = JsonLdProcessingMode.jsonLd11,
  this.skipInvalidRdfTerms = false,
});