TurtleEncoderOptions constructor
Creates a new TurtleEncoderOptions instance.
Parameters:
customPrefixes
Custom namespace prefixes to use during encoding. A mapping of prefix strings to namespace URIs that will be used to generate compact prefix declarations in the Turtle output.generateMissingPrefixes
When true (default), the encoder will automatically generate prefix declarations for IRIs that don't have a matching prefix.useNumericLocalNames
When false (default), IRIs with local names that start with a digit will be written as full IRIs instead of using prefixed notation.
Implementation
const TurtleEncoderOptions({
Map<String, String> customPrefixes = const {},
this.generateMissingPrefixes = true,
this.useNumericLocalNames = false,
}) : super(customPrefixes: customPrefixes);