Text constructor

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

Implementation

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