copyWith method

JsonLdEncoderOptions copyWith({
  1. Map<String, String>? customPrefixes,
  2. bool? generateMissingPrefixes,
  3. bool? includeBaseDeclaration,
})

Implementation

JsonLdEncoderOptions copyWith({
  Map<String, String>? customPrefixes,
  bool? generateMissingPrefixes,
  bool? includeBaseDeclaration,
}) =>
    JsonLdEncoderOptions(
      customPrefixes: customPrefixes ?? this.customPrefixes,
      generateMissingPrefixes:
          generateMissingPrefixes ?? this.generateMissingPrefixes,
      includeBaseDeclaration:
          includeBaseDeclaration ?? this.includeBaseDeclaration,
    );