copyWith method
Implementation
ReferenceResolver copyWith({String? style}) {
final String myStyle = style ?? "default";
assert(myStyle == "default" || myStyle == "emphasis");
return ReferenceResolver(
hostConfig: hostConfig,
currentStyle: myStyle,
);
}