copyWith method
Implementation
FhirPathException copyWith({
Object? context,
Map? variables,
}) {
return FhirPathException(
message,
pathExpression: pathExpression,
offset: offset,
token: token,
cause: cause,
operation: operation,
arguments: arguments,
collection: collection,
context: context ?? this.context,
environment: variables ?? this.environment,
);
}