JsonLdOptions constructor
JsonLdOptions({})
Implementation
factory JsonLdOptions(
{String? base,
bool? compactArrays,
bool? compactToRelative,
LoadDocumentCallback? documentLoader,
dynamic expandContext,
bool? extractAllScripts,
bool? frameExpansion,
bool? ordered,
String? processingMode,
bool? produceGeneralizedRdf,
String? rdfDirection,
bool? useNativeTypes,
bool? useRdfType}) =>
JsonLdOptions._(
base: base ?? undefined,
compactArrays: compactArrays ?? true,
compactToRelative: compactToRelative ?? true,
documentLoader: documentLoader ?? undefined,
expandContext: expandContext ?? undefined,
extractAllScripts: extractAllScripts ?? false,
frameExpansion: frameExpansion ?? false,
ordered: ordered ?? false,
processingMode: processingMode ?? 'json-ld-1.1',
produceGeneralizedRdf: produceGeneralizedRdf ?? true,
rdfDirection: rdfDirection ?? undefined,
useNativeTypes: useNativeTypes ?? false,
useRdfType: useRdfType ?? false);