TextNode constructor

TextNode([
  1. String text = ''
])

Implementation

TextNode([String super.text = ''])
    : assert(!text.contains('\n')),
      super._();