estimateReadingTime method

Duration estimateReadingTime({
  1. int wordsPerMinute = 200,
})

Estimate reading time for the page content

Implementation

Duration estimateReadingTime({int wordsPerMinute = 200}) {
  final plainText = toPlainText();
  return ContentFormatter.estimateReadingTime(plainText,
      wordsPerMinute: wordsPerMinute);
}