TurtleDecoder constructor

TurtleDecoder({
  1. TurtleDecoderOptions options = const TurtleDecoderOptions(),
  2. required RdfNamespaceMappings namespaceMappings,
})

Creates a new Turtle decoder

Parameters:

  • options Configuration options that control parsing behavior. Default is standard Turtle parsing with no special settings.
  • namespaceMappings Required namespace mappings to use when expanding prefixed names encountered during parsing.

Implementation

TurtleDecoder({
  TurtleDecoderOptions options = const TurtleDecoderOptions(),
  required RdfNamespaceMappings namespaceMappings,
})  : _namespaceMappings = namespaceMappings,
      _options = options;