TagflowElement.text constructor

TagflowElement.text(
  1. String content
)

Factory constructor for text nodes

Implementation

factory TagflowElement.text(String content) {
  return TagflowElement(tag: '#text', textContent: content);
}