collectElementChildText method
Implementation
String? collectElementChildText() {
StringBuffer buffer = StringBuffer();
for (final node in childNodes) {
if (node is TextNode) {
buffer.write(node.data);
}
}
if (buffer.isNotEmpty) {
return buffer.toString();
} else {
return null;
}
}