appendElementText method

  1. @override
Text? appendElementText(
  1. Node element,
  2. String? text
)
override

Implementation

@override
Text? appendElementText(Node element, String? text) {
  if (text == null || text.isEmpty) return null;
  var textNode = Text(text);
  element.append(textNode);
  return textNode;
}