getElementOuterHTML method

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

Implementation

@override
String? getElementOuterHTML(Node? element) {
  if (element is Element) {
    return element.outerHtml;
  } else {
    return element!.text;
  }
}