JsonLdEncoderOptions constructor

const JsonLdEncoderOptions({
  1. Map<String, String> customPrefixes = const {},
})

Creates a new JSON-LD encoder options object

customPrefixes A map of prefix to namespace URI pairs that will be used in the JSON-LD @context. These prefixes take precedence over standard prefixes if there are conflicts.

Implementation

const JsonLdEncoderOptions({Map<String, String> customPrefixes = const {}})
  : super(customPrefixes: customPrefixes);