applyInline method
Applies the node's properties inline. Apply to any scalars and flow collections.
Implementation
String applyInline(String? tag, String? anchor, String node) {
var dumped = node;
void apply(String? prop, [String prefix = '']) {
if (prop == null) return;
dumped = '$prefix$prop $dumped';
}
apply(tag);
apply(anchor, '&');
return dumped;
}