extractText method
TextExtractionResult
extractText(
- String html, {
- TextExtractionOptions options = const TextExtractionOptions(),
Extracts clean, readable text from HTML
html
is the HTML content to parse
options
are the text extraction options
Implementation
TextExtractionResult extractText(
String html, {
TextExtractionOptions options = const TextExtractionOptions(),
}) {
return textExtractor.extractText(html, options: options);
}