editedText function

String editedText(
  1. String startString,
  2. List<Bs4Element> children
)

Implementation

String editedText(String startString, List<Bs4Element> children) {
  for (var child in children) {
    startString = startString.replaceAll(child.text, "");
  }
  return startString.trim();
}