Text constructor

Text(
  1. Object? value
)

Creates a plain text node from value.

Implementation

Text(Object? value) : super(value?.toString() ?? '');