WordFrequencyCounter constructor
WordFrequencyCounter(
- String? word
word is the word to count ignorePunctuation facilitates checking words that include symbols.
Implementation
WordFrequencyCounter(String? word) : _word = word;