ref method
Implementation
String ref({
String? openRef,
String? closeRef,
required TBodyType bodyType,
}) =>
'${openRef ?? TRefType.curlyBraces.openDouble}'
' ${switch (bodyType) {
TBodyType.md => name,
TBodyType.xml => xmlKey,
TBodyType.yaml => yamlKey,
TBodyType.json => jsonKey,
}} '
'${closeRef ?? TRefType.curlyBraces.closeDouble}';