wordCount property
int
get
wordCount
Convenience getter for total word count.
Implementation
int get wordCount =>
fullText.trim().split(RegExp(r'\s+')).where((w) => w.isNotEmpty).length;
Convenience getter for total word count.
int get wordCount =>
fullText.trim().split(RegExp(r'\s+')).where((w) => w.isNotEmpty).length;