copyWith method
Implementation
EvaluationContext copyWith({
Object? Function(String name)? resolveRef,
Map<String, Object?>? extraScope,
void Function(String message)? reportError,
NodeBudget? nodes,
}) => EvaluationContext(
getState: getState,
resolveRef: resolveRef ?? this.resolveRef,
functions: functions,
actions: actions,
extraScope: extraScope ?? this.extraScope,
reportError: reportError ?? this.reportError,
locale: locale,
nodes: nodes ?? this.nodes,
);