ElementReplacer extension
Methods
-
replace({required List<Element>? test(Element)})
→ void
-
Available on List<Element>,
provided by the ElementReplacer extension
test gives you an element to interrogate.
You must return a list of elements if you want to replace that element with that list.
Return null to not replace that element.