copyWith method
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,
);