buildElementHTML method

  1. @override
String? buildElementHTML(
  1. Node element
)
override

Implementation

@override
String? buildElementHTML(Node element) {
  if (element is Element) {
    var html = element.outerHtml;
    return html;
  } else if (element is Text) {
    return element.text;
  }
  return null;
}