parseText method

String parseText(
  1. bool parseHtml
)

Convenience method to simplify parsing HTML based on the parseHtml parameter

Implementation

String parseText(bool parseHtml) =>
    parseHtml ? removeHtml(innerText) : innerText;