copyWith method

IriRelativizationOptions copyWith({
  1. int? maxUpLevels,
  2. int? maxAdditionalLength,
  3. bool? allowSiblingDirectories,
  4. bool? allowAbsolutePath,
})

Creates a copy of these options with specified overrides.

Follows the standard copyWith pattern for immutable configuration objects.

Implementation

IriRelativizationOptions copyWith({
  int? maxUpLevels,
  int? maxAdditionalLength,
  bool? allowSiblingDirectories,
  bool? allowAbsolutePath,
}) =>
    IriRelativizationOptions(
      maxUpLevels: maxUpLevels ?? this.maxUpLevels,
      maxAdditionalLength: maxAdditionalLength ?? this.maxAdditionalLength,
      allowSiblingDirectories:
          allowSiblingDirectories ?? this.allowSiblingDirectories,
      allowAbsolutePath: allowAbsolutePath ?? this.allowAbsolutePath,
    );